WhiteBatman 9 年之前
父節點
當前提交
d062054ef1
共有 1 個文件被更改,包括 5 次插入5 次删除
  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