mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-24 22:53:52 +02:00
сделал PreferSimpleProtocol
This commit is contained in:
@@ -403,7 +403,7 @@ func RawMultipleSQL(db *gorm.DB, TextSQL string) *gorm.DB {
|
||||
tx = db.Raw(v)
|
||||
err = tx.Error
|
||||
} else {
|
||||
tx = db.Raw(v)
|
||||
tx = db.Exec(v)
|
||||
err = tx.Error
|
||||
}
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user