Browse Source

fix default Exec method

ls 1 năm trước cách đây
mục cha
commit
9ac6acee2d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      db/db.go

+ 1 - 1
db/db.go

@@ -397,6 +397,6 @@ func Exec(query string, args ...interface{}) (LastInsertId, RowsAffected int64,
 		return
 	}
 
-	LastInsertId, RowsAffected, err = defaultDB.conn.Exec(query, args...)
+	LastInsertId, RowsAffected, err = defaultDB.Exec(query, args...)
 	return
 }