Class | Mongoid::Matchers::Or |
In: |
lib/mongoid/matchers/or.rb
|
Parent: | Default |
Defines behavior for handling $or expressions in embedded documents.
Does the supplied query match the attribute?
@example Does this match?
matcher.matches?("$or" => [ { field => value } ])
@param [ Array ] conditions The or expression.
@return [ true, false ] True if matches, false if not.
@since 2.0.0.rc.7