- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NotPanics (0.14 sec)
-
tests/joins_test.go
for i := 0; i < 21; i++ { user := &User{Name: fmt.Sprintf("User%d", i), ManagerID: &manager.ID} DB.Create(user) userIDs = append(userIDs, user.ID) } var entries []User assert.NotPanics(t, func() { assert.NoError(t, DB.Debug().Preload("Manager.Team"). Joins("Manager.Company"). Find(&entries).Error) }) } func TestJoinsPreload_Issue7013_RelationEmpty(t *testing.T) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:58:13 UTC 2024 - 15K bytes - Viewed (0)