Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CheckUser (0.09 sec)

  1. tests/query_test.go

    	CheckUser(t, user, users[0])
    
    	user = User{}
    	DB.Where(map[string]interface{}{"name": users[1].Name}).First(&user)
    	CheckUser(t, user, users[1])
    
    	var results []User
    	DB.Where(map[string]interface{}{"name": users[2].Name}).Find(&results)
    	if len(results) != 1 {
    		t.Fatalf("Search all records with inline map")
    	}
    
    	CheckUser(t, results[0], users[2])
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
Back to top