SollmoStudio / beyond

Beyond: The Scalable Game Server Framework
http://www.beyondframework.com
Apache License 2.0
25 stars 9 forks source link

Fix bugs in collection.find(). #170

Closed sgkim126 closed 9 years ago

sgkim126 commented 9 years ago

QueryOpts is immutable, skip() and batchSize() doesn't change itself, it creates new one.

Both skipN and batchSieN has default value 0.

hatashiro commented 9 years ago

LGTM. Can a test case be added for collection, or could it be difficult as it's concerned with DB?

sgkim126 commented 9 years ago

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.

sgkim126 commented 9 years ago

Landed manually.