- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestUpdateColumn (0.57 sec)
-
tests/update_test.go
} var user4 User DB.First(&user4, user3.ID) user3.Age += 100 AssertObjEqual(t, user4, user3, "UpdatedAt", "Age") } func TestUpdateColumn(t *testing.T) { users := []*User{ GetUser("update_column_01", Config{}), GetUser("update_column_02", Config{}), } DB.Create(&users) lastUpdatedAt := users[1].UpdatedAt
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Dec 04 03:50:58 UTC 2023 - 30.3K bytes - Viewed (0)