Module | Mongoid::Extensions::Hash::CriteriaHelpers |
In: |
lib/mongoid/extensions/hash/criteria_helpers.rb
|
Expands complex criterion into mongodb selectors.
Expand the complex criteria into a MongoDB compliant selector hash.
@example Convert the criterion.
{}.expand_complex_criteria
@return [ Hash ] The mongo selector.
@since 1.0.0