- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestNestedPreloadWithUnscoped (0.14 sec)
-
tests/preload_test.go
"users.*, 'yo' as something").First(&result, "name = ?", user.Name) CheckUser(t, user, result.User) } func TestNestedPreloadWithUnscoped(t *testing.T) { user := *GetUser("nested_preload", Config{Pets: 1}) pet := user.Pets[0] pet.Toy = Toy{Name: "toy_nested_preload_" + strconv.Itoa(1)} pet.Toy = Toy{Name: "toy_nested_preload_" + strconv.Itoa(2)}
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0)