Closed sgkim126 closed 9 years ago
LGTM. Can a test case be added for collection
, or could it be difficult as it's concerned with DB?
It's difficult because it's concerned with DB. I have been trying to figure out using DB on test, but I didn't until now.
Landed manually.
QueryOpts is immutable, skip() and batchSize() doesn't change itself, it creates new one.
Both skipN and batchSieN has default value 0.