chore: add comments (#1345)
This commit is contained in:
@@ -25,6 +25,7 @@ type (
|
|||||||
SqlConn interface {
|
SqlConn interface {
|
||||||
Session
|
Session
|
||||||
// RawDB is for other ORM to operate with, use it with caution.
|
// RawDB is for other ORM to operate with, use it with caution.
|
||||||
|
// Notice: don't close it.
|
||||||
RawDB() (*sql.DB, error)
|
RawDB() (*sql.DB, error)
|
||||||
Transact(func(session Session) error) error
|
Transact(func(session Session) error) error
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user