mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-25 23:02:22 +02:00
сделал //запустим транзакцию
This commit is contained in:
@@ -441,8 +441,8 @@ func RawMultipleSQL(db *gorm.DB, TextSQL string) *gorm.DB {
|
||||
}
|
||||
|
||||
//запустим транзакцию
|
||||
//tx = tx.Begin()
|
||||
//defer tx.Commit()
|
||||
tx = tx.Begin()
|
||||
defer tx.Commit()
|
||||
|
||||
//
|
||||
TextSQL1 := ""
|
||||
|
||||
Reference in New Issue
Block a user