Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestScanToEmbedded_1_m1 (0.22 sec)

  1. tests/scan_test.go

    		t.Errorf("Failed to run join query, got error: %v", err)
    	}
    	AssertEqual(t, person1, personDupField)
    
    	user := User{
    		Name: "TestScanToEmbedded_1",
    		Manager: &User{
    			Name:    "TestScanToEmbedded_1_m1",
    			Manager: &User{Name: "TestScanToEmbedded_1_m1_m1"},
    		},
    	}
    	DB.Create(&user)
    
    	type UserScan struct {
    		ID        uint
    		Name      string
    		ManagerID *uint
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top