New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoCursor.limit doesn't work for values > 1024 #967

Closed
MartinNowak opened this Issue Jan 27, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@MartinNowak
Contributor

MartinNowak commented Jan 27, 2015

The range is unlimited when setting a limit > 1024.
Apparently that's the number of documents per chunk, and the limit doesn't work for multiple chunks.

@MartinNowak

This comment has been minimized.

Show comment
Hide comment
@MartinNowak

MartinNowak Jan 27, 2015

Contributor

Workaround is to use std.range.take until this is fixed.

Contributor

MartinNowak commented Jan 27, 2015

Workaround is to use std.range.take until this is fixed.

@MartinNowak

This comment has been minimized.

Show comment
Hide comment
@MartinNowak

MartinNowak Dec 25, 2015

Contributor

This is still open, any idea what might be causing this?

Contributor

MartinNowak commented Dec 25, 2015

This is still open, any idea what might be causing this?

@s-ludwig s-ludwig closed this in 2503f14 Aug 11, 2017

s-ludwig added a commit that referenced this issue Aug 11, 2017

Merge pull request #1871 from WebFreak001/fix-967
Fix #967 & made MongoCursor.limit/skip safe

s-ludwig added a commit that referenced this issue Sep 2, 2017

Merge pull request #1871 from WebFreak001/fix-967
Fix #967 & made MongoCursor.limit/skip safe

s-ludwig added a commit that referenced this issue Sep 2, 2017

Merge pull request #1871 from WebFreak001/fix-967
Fix #967 & made MongoCursor.limit/skip safe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment