.limit(0) not limiting to empty array #655
Closed
Comments
Duplicate of #585. This is already fixed in the repo but yet not published to npm. Just out of curiosity, why do you want to execute limit(0) query? |
We have an API that takes count and offset as query parameters. Our users and apps that consume this api have corner cases where they pass in count=0 and expect to get an empty array not the full data set. |
When do you think #585 will be published to npm? |
Ah sorry abt. that... I'll do a quick pass through and try and get a release out today |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I do .limit(0) I end up getting the entire dataset back. 0.6.* did not have this behaviour
The text was updated successfully, but these errors were encountered: