- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for GenericsDistinctUnique (0.07 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 Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 33.7K bytes - Click Count (0)