chore: add comments (#1345)

master
Kevin Wan 3 years ago committed by GitHub
parent 8fd16c17dc
commit b299f350be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,6 +25,7 @@ type (
SqlConn interface {
Session
// RawDB is for other ORM to operate with, use it with caution.
// Notice: don't close it.
RawDB() (*sql.DB, error)
Transact(func(session Session) error) error
}

Loading…
Cancel
Save