- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for GenericsDistinctUnique (0.09 seconds)
-
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) }
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)