- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for after (0.14 sec)
-
migrator/migrator.go
if field := stmt.Schema.LookUpField(name); field != nil { name = field.DBName } } return m.DB.Exec( "ALTER TABLE ? DROP COLUMN ?", m.CurrentTable(stmt), clause.Column{Name: name}, ).Error }) } // AlterColumn alter value's `field` column' type based on schema definition func (m Migrator) AlterColumn(value interface{}, field string) error {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Apr 26 07:15:49 GMT 2024 - 29K bytes - Viewed (0) -
tests/query_test.go
t.Errorf("incorrect total batch, expects: %v, got %v", 6, totalBatch) } var count int64 DB.Model(&User{}).Where("name = ?", "find_in_batches_new").Count(&count) if count != 6 { t.Errorf("incorrect count after update, expects: %v, got %v", 6, count) } } func TestFindInBatchesWithOffsetLimit(t *testing.T) { users := []User{ *GetUser("find_in_batches_with_offset_limit", Config{}),
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Apr 25 12:22:53 GMT 2024 - 49.8K bytes - Viewed (0)