- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestUpdateWithMissWhere (0.31 sec)
-
tests/upsert_test.go
} if err := DB.Where("number = ?", "1231231231").First(&Account{}).Error; err != nil { t.Errorf("belongs to association should be saved") } } func TestUpdateWithMissWhere(t *testing.T) { type User struct { ID uint `gorm:"column:id;<-:create"` Name string `gorm:"column:name"` } user := User{ID: 1, Name: "king"}
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 29 11:06:13 UTC 2025 - 13.1K bytes - Viewed (0)