module
ActiveRecord::QueryMethods
v5.2.3 -
Show latest stable
No documentation available for this module.
Included modules
- ActiveModel::ForbiddenAttributesProtection
Constants
DEFAULT_VALUES = {\ncreate_with: FROZEN_EMPTY_HASH,\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, :unscope, :references]
VALID_DIRECTIONS = [:asc, :desc, :ASC, :DESC,\n"asc", "desc", "ASC", "DESC"].to_set # :nodoc:
VALID_UNSCOPING_VALUES = Set.new([:where, :select, :group, :order, :lock,\n:limit, :offset, :joins, :left_outer_joins,\n:includes, :from, :readonly, :having])
Files
- activerecord/lib/active_record/relation/query_methods.rb