Module: MetaWhere
- Defined in:
- lib/meta_where.rb,
lib/meta_where/not.rb,
lib/meta_where/column.rb,
lib/meta_where/utility.rb,
lib/meta_where/version.rb,
lib/meta_where/compound.rb,
lib/meta_where/function.rb,
lib/meta_where/relation.rb,
lib/meta_where/condition.rb,
lib/meta_where/join_type.rb,
lib/meta_where/join_dependency.rb,
lib/meta_where/visitors/visitor.rb,
lib/meta_where/visitors/attribute.rb,
lib/meta_where/visitors/predicate.rb,
lib/meta_where/condition_operators.rb,
lib/meta_where/association_reflection.rb
Defined Under Namespace
Modules: AssociationReflection, ConditionOperators, JoinDependency, Relation, Utility, Visitors Classes: And, Column, Compound, Condition, Function, JoinType, MetaWhereInAssociationError, Not, Or, PolymorphicJoinAssociation
Constant Summary collapse
- METHOD_ALIASES =
{ 'ne' => :not_eq, 'like' => :matches, 'not_matches' => :does_not_match, 'nlike' => :does_not_match, 'lte' => :lteq, 'gte' => :gteq, 'nin' => :not_in }
- PREDICATES =
[ :eq, :eq_any, :eq_all, :not_eq, :not_eq_any, :not_eq_all, :matches, :matches_any, :matches_all, :does_not_match, :does_not_match_any, :does_not_match_all, :lt, :lt_any, :lt_all, :lteq, :lteq_any, :lteq_all, :gt, :gt_any, :gt_all, :gteq, :gteq_any, :gteq_all, :in, :in_any, :in_all, :not_in, :not_in_any, :not_in_all ]
- VERSION =
"1.0.4.001"
Class Method Summary collapse
Class Method Details
.operator_overload! ⇒ Object
25 26 27 |
# File 'lib/meta_where.rb', line 25 def self.operator_overload! require 'core_ext/symbol_operators' end |