Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNestedJoins (0.09 sec)

  1. tests/joins_test.go

    		t.Fatalf("Failed to load with joins on, got error: %v", err)
    	}
    	if user4.NamedPet.ID == 0 {
    		t.Fatal("Pet ID can not be empty")
    	}
    	AssertEqual(t, user4.NamedPet.Name, "")
    }
    
    func TestNestedJoins(t *testing.T) {
    	users := []User{
    		{
    			Name: "nested-joins-1",
    			Manager: &User{
    				Name: "nested-joins-manager-1",
    				Company: Company{
    					Name: "nested-joins-manager-company-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