- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for HasManyAssociationReplaceWithStructValue (0.14 sec)
-
tests/associations_has_many_test.go
} if len(contents) != 0 { t.Errorf("expected %d contents, got %d", 0, len(contents)) } } func TestHasManyAssociationReplaceWithStructValue(t *testing.T) { user := User{Name: "HasManyAssociationReplaceWithStructValue", Languages: []Language{{Name: "EN", Code: "en"}}} if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 12 04:33:27 UTC 2025 - 16.3K bytes - Viewed (0)