- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestJoinsWithSelect (0.2 sec)
-
tests/joins_test.go
t.Fatalf("Failed to load with joins on, got error: %v", err) } AssertEqual(t, user2.NamedPet.Name, "joins-on_pet_2") } func TestJoinsWithSelect(t *testing.T) { type result struct { ID uint PetID uint Name string } user := *GetUser("joins_with_select", Config{Pets: 2}) DB.Save(&user) var results []result
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:58:13 UTC 2024 - 15K bytes - Viewed (0)