From b299f350bef181f7dc0fc3fdd3efc48c8a6cf515 Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Sat, 18 Dec 2021 22:39:14 +0800 Subject: [PATCH] chore: add comments (#1345) --- core/stores/sqlx/sqlconn.go | 1 + 1 file changed, 1 insertion(+) 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 }