module
ActiveRecord::QueryMethods
v5.1.7 -
Show latest stable
No documentation available for this module.
Included modules
- ActiveModel::ForbiddenAttributesProtection
Constants
DEFAULT_VALUES = {\ncreate_with: FROZEN_EMPTY_HASH,\nreadonly: false,\nwhere: Relation::WhereClause.empty,\nhaving: Relation::WhereClause.empty,\nfrom: Relation::FromClause.empty\n}
FROZEN_EMPTY_ARRAY = [].freeze
FROZEN_EMPTY_HASH = {}.freeze
STRUCTURAL_OR_METHODS = Relation::VALUE_METHODS - [:extending, :where, :having]
VALID_DIRECTIONS = [:asc, :desc, :ASC, :DESC,\n"asc", "desc", "ASC", "DESC"]
VALID_UNSCOPING_VALUES = Set.new([:where, :select, :group, :order, :lock,\n:limit, :offset, :joins, :includes, :from,\n:readonly, :having])
Files
- activerecord/lib/active_record/relation/query_methods.rb