Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestJoinsPreload_Issue7013_NoEntries (0.18 sec)

  1. tests/joins_test.go

    				Joins("Owner.Company").
    				Find(&entries).Error)
    	})
    
    	AssertEqual(t, entries, []Building{{Model: home.Model, Name: "relation_empty", Owner: Owner{Company: Company{}}}})
    }
    
    func TestJoinsPreload_Issue7013_NoEntries(t *testing.T) {
    	var entries []User
    	assert.NotPanics(t, func() {
    		assert.NoError(t,
    			DB.Debug().Preload("Manager.Team").
    				Joins("Manager.Company").
    				Where("1 <> 1").
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top