-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
limit and skip doesn't work on mongodb 3.2 #3763
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
Comments
|
Thank you for your reply. I use limit and skip as options parameter like this |
Same thing happens in the shell:
I opened up https://jira.mongodb.org/browse/DOCS-6995 because this should be documented on the mongodb server. |
was this issue solved? im having the same problems and would like to know the status of it |
It's a won't fix @rgalindo33 |
/create user query/ |
This code work for me mongo 3.28
|
I also ran into this change when upgrading from Mongoose 3.8 to Mongoose 4.13 when running MongoDB 3.2. Mongoose 3.8 would accept strings for
If that's acceptable I can make the addition to the wiki page. |
@markstos please do, I appreciate your help 👍 |
Ah, sorry, looks like I don't have edit rights on the wiki:
https://github.com/Automattic/mongoose/wiki/4.0-Release-Notes Perhaps it's
restricted to collaborators only.
At least it should be a quick copy/paste to add the text I wrote.
…On Fri, Jan 5, 2018 at 8:10 PM Valeri Karpov ***@***.***> wrote:
@markstos <https://github.com/markstos> please do, I appreciate your help
👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3763 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABk5ZivjBHjh2puqlBeMjSLUIl5qUs4ks5tHsfugaJpZM4HFibq>
.
|
parseInt works... |
It seem like mongodb 3.2, limit and skip field must be numeric number. Can you embed cast string to int into your mongoose.
The text was updated successfully, but these errors were encountered: