- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestGenericsAssociation (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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{
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0)