diff --git a/core/stores/sqlx/sqlconn.go b/core/stores/sqlx/sqlconn.go index ce380487..b26de8c4 100644 --- a/core/stores/sqlx/sqlconn.go +++ b/core/stores/sqlx/sqlconn.go @@ -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 }