Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFindInBatches (0.2 sec)

  1. tests/query_test.go

    	}
    
    	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) {
    	users := []User{
    		*GetUser("find_in_batches", Config{}),
    		*GetUser("find_in_batches", Config{}),
    		*GetUser("find_in_batches", Config{}),
    		*GetUser("find_in_batches", Config{}),
    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