- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestMany2ManyOmitAssociations (0.11 sec)
-
tests/associations_many2many_test.go
t.Errorf("Error happened when clear Languages, got %v", err) } AssertAssociationCount(t, user2, "Languages", 0, "after clear") } func TestMany2ManyOmitAssociations(t *testing.T) { tidbSkip(t, "not support the foreign key feature") user := *GetUser("many2many_omit_associations", Config{Languages: 2}) if err := DB.Omit("Languages.*").Create(&user).Error; err == nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0)