- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for AllowGlobalUpdate (0.58 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
gorm.go
// IgnoreRelationshipsWhenMigrating IgnoreRelationshipsWhenMigrating bool // DisableNestedTransaction disable nested transaction DisableNestedTransaction bool // AllowGlobalUpdate allow global update AllowGlobalUpdate bool // QueryFields executes the SQL query with all fields of the table QueryFields bool // CreateBatchSize default create batch size CreateBatchSize int
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 13.1K bytes - Click Count (0) -
tests/scanner_valuer_test.go
} if !reflect.DeepEqual([]interface{}{"jinzhu", "POINT(100 100)"}, stmt.Vars) { t.Errorf("generated vars is not equal, got %v", stmt.Vars) } stmt = dryRunDB.Session(&gorm.Session{ AllowGlobalUpdate: true, }).Model(&UserWithPoint{}).Updates(UserWithPoint{ Name: "jinzhu", Point: Point{X: 100, Y: 100}, }).Statement
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0) -
tests/update_test.go
t.Errorf("should returns missing WHERE clause while updating error, got err %v", err) } if err := DB.Session(&gorm.Session{AllowGlobalUpdate: true}).Model(&User{}).Update("name", "jinzhu").Error; err != nil { t.Errorf("should returns no error while enable global update, but got err %v", err) } } func TestSelectWithUpdate(t *testing.T) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0)