Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNestedPreloadWithPointerJoin (0.65 sec)

  1. tests/preload_test.go

    	if !regexp.MustCompile(`SELECT \* FROM .*tools.* WHERE .*IN.*`).MatchString(query[0]) {
    		t.Fatalf("Expected first query to preload manager tools, got: %s", query[0])
    	}
    }
    
    func TestNestedPreloadWithPointerJoin(t *testing.T) {
    	type (
    		Preload struct {
    			ID     uint
    			Value  string
    			JoinID uint
    		}
    		Join struct {
    			ID       uint
    			Value    string
    			Preload  Preload
    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