Module: Dynamoid::Finders

Extended by:
ActiveSupport::Concern
Included in:
Components
Defined in:
lib/dynamoid/finders.rb

Overview

This module defines the finder methods that hang off the document at the class level, like find, find_by_id, and the method_missing style finders.

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

RANGE_MAP =
{
  'gt'            => :range_greater_than,
  'lt'            => :range_less_than,
  'gte'           => :range_gte,
  'lte'           => :range_lte,
  'begins_with'   => :range_begins_with,
  'between'       => :range_between,
  'eq'            => :range_eq
}.freeze