Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestGenericsDistinct (0.17 seconds)

  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"},
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 30 08:11:14 GMT 2025
    - 34.9K bytes
    - Click Count (0)
Back to Top