- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for updates_with_blank_value (0.24 sec)
-
tests/update_test.go
t.Errorf("account number should not been changed, expects: %v, got %v", user.Account.Number, result.Account.Number) } } func TestUpdatesWithBlankValues(t *testing.T) { user := *GetUser("updates_with_blank_value", Config{}) DB.Save(&user) var user2 User user2.ID = user.ID DB.Model(&user2).Updates(&User{Age: 100}) var result User DB.First(&result, user.ID)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Dec 04 03:50:58 UTC 2023 - 30.3K bytes - Viewed (0)