- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestClauseAssociationSetUpdateHasManyClear (0.46 sec)
-
tests/association_generics_test.go
} } // Test Set + Update to clear all has-many (Pets) via OpUnlink without conditions func TestClauseAssociationSetUpdateHasManyClear(t *testing.T) { ctx := context.Background() user := User{Name: "TestClauseAssociationSetUpdateHasManyClear", Age: 25} user.Pets = []*Pet{{Name: "p1"}, {Name: "p2"}} if err := DB.Create(&user).Error; err != nil {Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 12 05:42:26 UTC 2025 - 37.9K bytes - Viewed (0)