- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GenericsDistinctUnique (0.19 sec)
-
tests/generics_test.go
} } func TestGenericsDistinct(t *testing.T) { ctx := context.Background() batch := []User{ {Name: "GenericsDistinctDup"}, {Name: "GenericsDistinctDup"}, {Name: "GenericsDistinctUnique"}, } if err := gorm.G[User](DB).CreateInBatches(ctx, &batch, len(batch)); err != nil { t.Fatalf("CreateInBatches failed: %v", err) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0)