forked from golang/appengine
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datastore: enable to set query batch size
This adds q.BatchSize() method to avoid the error that claims too many datastore.next() calls due to the lack of specifying the `count` property (= batch size). Fixes golang#88
- Loading branch information
delphinus
committed
Sep 24, 2017
1 parent
24e4144
commit 08ae4b5
Showing
2 changed files
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters