Class | Plucky::CriteriaHash |
In: |
lib/plucky/criteria_hash.rb
|
Parent: | Object |
SimpleIdQueryKeys | = | [:_id].to_set | Internal: Used to determine if criteria keys match simple id lookup. | |
SimpleIdAndTypeQueryKeys | = | [:_id, :_type].to_set | Internal: Used to determine if criteria keys match simple id and type lookup (for single collection inheritance). | |
SimpleQueryMaxSize | = | [SimpleIdQueryKeys.size, SimpleIdAndTypeQueryKeys.size].max | Internal: Used to quickly check if it is possible that the criteria hash is simple. |
options | [R] | Private: The Hash that stores options |
source | [R] | Private: The Hash that stores query criteria |