Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for GenericsScopes2 (0.1 seconds)

  1. tests/generics_test.go

    		t.Fatalf("expected 2 results, got %d", len(notResult))
    	} else if notResult[0].Name != "GenericsScopes2" || notResult[1].Name != "GenericsScopes3" {
    		t.Fatalf("expected names 'GenericsScopes2' and 'GenericsScopes3', got %s and %s", notResult[0].Name, notResult[1].Name)
    	}
    
    	orResult, err := gorm.G[User](DB).Or("name = ?", "GenericsScopes1").Or("name = ?", "GenericsScopes2").Order("name").Find(ctx)
    	if len(orResult) != 2 {
    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