Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGenericsDistinct (0.08 sec)

  1. tests/generics_test.go

    	}
    	CheckUser(t, user3, user)
    
    	if len(user3.Friends) != 1 || len(user3.Friends[0].Pets) != 3 {
    		t.Errorf("failed to nested preload with limit per record")
    	}
    }
    
    func TestGenericsDistinct(t *testing.T) {
    	ctx := context.Background()
    
    	batch := []User{
    		{Name: "GenericsDistinctDup"},
    		{Name: "GenericsDistinctDup"},
    		{Name: "GenericsDistinctUnique"},
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top