- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestGenericsAssociation (0.08 sec)
-
tests/generics_test.go
// Just test that the API can be called _, err := gorm.G[User](DB).Where("id = ?", 1).Delete(ctx) if err != nil { t.Fatalf("Delete failed: %v", err) } } func TestGenericsAssociation(t *testing.T) { // Test basic Association creation assoc := clause.Association{ Association: "Orders", Type: clause.OpCreate, Set: []clause.Assignment{
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Nov 02 14:09:18 UTC 2025 - 33.7K bytes - Viewed (0)