فهرست منبع

fix default Exec method

ls 1 سال پیش
والد
کامیت
9ac6acee2d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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
 }