- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestGenericsWithResult2 (0.18 seconds)
-
tests/generics_test.go
} } func TestGenericsWithResult(t *testing.T) { ctx := context.Background() users := []User{{Name: "TestGenericsWithResult", Age: 18}, {Name: "TestGenericsWithResult2", Age: 18}} result := gorm.WithResult() err := gorm.G[User](DB, result).CreateInBatches(ctx, &users, 2) if err != nil { t.Errorf("failed to create users WithResult") }
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)