- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestGenericsUpdate (0.52 sec)
-
tests/generics_test.go
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) } } func TestGenericsUpdate(t *testing.T) { ctx := context.Background() // Just test that the API can be called _, err := gorm.G[User](DB).Where("id = ?", 1).Update(ctx, "name", "test") if err != nil {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Nov 02 14:09:18 UTC 2025 - 33.7K bytes - Viewed (0)