Module: Kangaroo::Model::ConditionNormalizer

Included in:
OpenObjectOrm
Defined in:
lib/kangaroo/model/condition_normalizer.rb

Constant Summary collapse

CONDITION_OPERATORS =
%w(= != > >= < <= ilike like in child_of parent_left parent_right).freeze
CONDITION_PATTERN =
/\A(.*)\s+(#{CONDITION_OPERATORS * "|"})\s+(.*)\Z/i.freeze