- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestGenericsCount (0.13 seconds)
-
tests/generics_test.go
} if userIds[0].String() != users[0].Name || userIds[1].String() != users[1].Name || userIds[2].String() != users[2].Name { t.Fatalf("wrong uuid scanned") } } func TestGenericsCount(t *testing.T) { ctx := context.Background() // Just test that the API can be called _, err := gorm.G[User](DB).Count(ctx, "*") if err != nil { t.Fatalf("Count 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)