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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top