Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for CompanyID (0.03 sec)

  1. tests/query_test.go

    	if len(results2) != 1 {
    		t.Errorf("Search all records with inline map containing null value finding 1 record")
    	}
    
    	DB.Find(&results2, map[string]interface{}{"name": users[3].Name, "company_id": users[3].CompanyID})
    	if len(results2) != 1 {
    		t.Errorf("Search all records with inline multiple value map")
    	}
    }
    
    func TestSearchWithStruct(t *testing.T) {
    	dryRunDB := DB.Session(&gorm.Session{DryRun: true})
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
Back to top