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
MONGOID-4862 Make any_of behave like or but not disjunct the receiver #4741
Conversation
end | ||
# Should be able to do: | ||
#where('$or' => exprs) | ||
# But since that is broken do instead: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is covered by https://jira.mongodb.org/browse/MONGOID-4870.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
docs/tutorials/mongoid-queries.txt
Outdated
When a logical operator is used, it operates on the criteria built up to | ||
that point and its argument. ``where`` has the same meaning as ``and``: | ||
When ``and``, ``or`` and ``nor`` logical operators are used, they | ||
operates on the criteria built up to that point and its argument. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
operates -> operate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
No description provided.