Skip to content
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

No mongodb sort and limit in get #43

Closed
wants to merge 8 commits into from
Closed

Conversation

lekki
Copy link

@lekki lekki commented Sep 8, 2014

Hey,

I've replaced where with find in mongoid orm mapper. It removes sorting and limit automatically added by mongoid. Sorting is known to be slow in monogdb world.

mongoid get uses find instead where
unnecessary  "return" removed
@ianwhite
Copy link
Owner

ianwhite commented Sep 9, 2014

This seems like a good change, in the vein of #33. But your change has caused failures with the CI. Can you make these tests pass please?

@lekki
Copy link
Author

lekki commented Sep 9, 2014

@ianwhite sorry, just noticed failures. I suspect it's related to different version of mongoid I'm using locally. I will look into and fix failures soon.

@lekki lekki closed this Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants