Find file History
delphinus and sbuss datastore: enable to set query batch size (#90)
* 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 #88

* Disallow negative values for BatchSize

* Deal with negative value for t.limit

and clean up to be more readable

* Add comment about possible values for t.count

* Use the same `if` block as in `Run()` for `count`

* Make BatchSize restrict to be greater than zero
Latest commit b9aad5d May 16, 2018