- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestGenericsCount (0.05 sec)
-
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) } }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Nov 02 14:09:18 UTC 2025 - 33.7K bytes - Viewed (0)