- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for FR (0.14 sec)
-
tests/associations_has_many_test.go
if err := tx.Model(&item).Association("Contents").Unscoped().Replace([]ItemContent{ {Name: "updated name", LanguageCode: "en"}, {Name: "ar updated name", LanguageCode: "ar"}, {Name: "le nom", LanguageCode: "fr"}, }); err != nil { t.Errorf("failed to replace item content, got error: %v", err) } if count := tx.Model(&item).Association("Contents").Count(); count != 3 { t.Errorf("expected %d contents, got %d", 3, count)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Dec 15 08:36:08 GMT 2023 - 15.6K bytes - Viewed (0)