Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Pearce (0.33 sec)

  1. tests/query_test.go

    	user.CreatedAt = time.Time{}
    	user.UpdatedAt = time.Time{}
    	if err := DB.Where(&user).First(&User{}).Error; err != nil {
    		t.Errorf("search with struct with association should returns no error, but got %v", err)
    	}
    
    	if err := DB.Where(user).First(&User{}).Error; err != nil {
    		t.Errorf("search with struct with association should returns no error, but got %v", err)
    	}
    }
    
    func TestFindInBatches(t *testing.T) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
Back to top