Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for j2 (0.01 sec)

  1. tests/preload_test.go

    			},
    			Join: Join{Value: "j1"},
    		},
    	}
    	value2 := Value{
    		Name: "value2",
    		Nested: Nested{
    			Preloads: []*Preload{
    				{Value: "p3"}, {Value: "p4"}, {Value: "p5"},
    			},
    			Join: Join{Value: "j2"},
    		},
    	}
    
    	values := []*Value{&value1, &value2}
    	if err := DB.Create(&values).Error; err != nil {
    		t.Errorf("failed to create value, got err: %v", err)
    	}
    
    	var find1 Value
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top