- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestJoinWithOmit (0.21 sec)
-
tests/joins_test.go
}) if len(results) != 2 || results[0].Name != user.Pets[0].Name || results[1].Name != user.Pets[1].Name { t.Errorf("Should find all two pets with Join select, got %+v", results) } } func TestJoinWithOmit(t *testing.T) { user := *GetUser("joins_with_omit", Config{Pets: 2}) DB.Save(&user) results := make([]*User, 0)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:58:13 UTC 2024 - 15K bytes - Viewed (0)