WhiteBatman 9 năm trước cách đây
mục cha
commit
d062054ef1
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      session.go

+ 5 - 5
session.go

@@ -23,11 +23,11 @@ import (
 // Session keep a pointer to sql.DB and provides all execution of all
 // kind of database operations.
 type Session struct {
-	db        *core.DB
-	Engine    *Engine
-	Tx        *core.Tx
-	Statement Statement
-
+	db                     *core.DB
+	Engine                 *Engine
+	Tx                     *core.Tx
+	Statement              Statement
+	currentTransaction     *Transaction
 	IsAutoCommit           bool
 	IsCommitedOrRollbacked bool
 	IsSqlFuc               bool