- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestGenericsWithResult2 (0.39 sec)
-
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") }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0)