We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I’m doing a db query using the monger library like so:
(q/with-collection db "videos" (q/find {}) (q/sort {:date 1}) (q/paginate :page page :per-page 5))
However, when I do page 1, I get the following ids:
("6011a14028dacb0004d7475c" "6011a1ea28dacb0004d7475d" "60119fe128dacb0004d7475a" "602a15665273b0b82c3ded1c" "6011a0b428dacb0004d7475b")
when I do page 2, I get these:
("6011a14028dacb0004d7475c" "60119fe128dacb0004d7475a" "602a15665273b0b82c3ded1c" "6011a0b428dacb0004d7475b" "60124ed4afa8e90004ab71a0")
The problem is that there’s an overlap of ids between the two pages. I expect the pages to show ids with no overlap. How to fix this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I’m doing a db query using the monger library like so:
However, when I do page 1, I get the following ids:
when I do page 2, I get these:
The problem is that there’s an overlap of ids between the two pages. I expect the pages to show ids with no overlap. How to fix this?
The text was updated successfully, but these errors were encountered: