- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Errorf (0.13 sec)
-
tests/associations_has_one_test.go
if err := DB.Model(&user2).Association("Account").Append(&account); err != nil { t.Fatalf("Error happened when append Account, got %v", err) } AssertAssociationCount(t, user2, "Account", 1, "after prepare data") // Clear if err := DB.Model(&user2).Association("Account").Clear(); err != nil { t.Errorf("Error happened when clear Account, got %v", err) } AssertAssociationCount(t, user2, "Account", 0, "after clear")
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 6.8K bytes - Viewed (0)