Module: Cuprum::Collections::Queries
- Defined in:
- lib/cuprum/collections/queries.rb,
lib/cuprum/collections/queries/parse.rb,
lib/cuprum/collections/queries/ordering.rb,
lib/cuprum/collections/queries/parse_block.rb,
lib/cuprum/collections/queries/parse_strategy.rb
Overview
Namespace for internal functionality for implementing collection queries.
Defined Under Namespace
Modules: Ordering Classes: Parse, ParseBlock, ParseStrategy
Constant Summary collapse
- Operators =
Defines the supported operators for a Query.
SleepingKingStudios::Tools::Toolbox::ConstantMap.new( EQUAL: :equal, GREATER_THAN: :greater_than, GREATER_THAN_OR_EQUAL_TO: :greater_than_or_equal_to, LESS_THAN: :less_than, LESS_THAN_OR_EQUAL_TO: :less_than_or_equal_to, NOT_EQUAL: :not_equal, NOT_ONE_OF: :not_one_of, ONE_OF: :one_of ).freeze
- VALID_OPERATORS =
Enumerates the valid operators as a Set for performant lookup.
Set.new(Operators.values).freeze