-
Notifications
You must be signed in to change notification settings - Fork 241
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
mongoose adapter: cannot specify sort direction #38
Comments
Yep, just need to extend order feature to work with direction option. Thanks, On 28.02.2012, at 10:25, TinNTreply@reply.github.com wrote:
|
Maybe this is undocumented mongoose feature, but for my test it works as expected when I specify sort direction: User.all({order: 'email DESC'}, console.log); Let me know if you have any problems with mongoose adapter. I've only fixed redis adapter to hook this feature, all others working just fine. |
Thanks for your reply, I tried to install latest release of mongoose and jugglingdb, but it didn't help, the issue is still there, here is the details
Thanks again. |
Both features implemented now: findOne, DESC, ASC sortings for mongoose |
Awesome!!! Thank you. |
thanks! |
is there an easy way to patch this issue and define findOne method?
Thanks
The text was updated successfully, but these errors were encountered: