Module: CriteriaOperator::BinaryOperatorType

Defined in:
lib/criteria_operator/binary_operator.rb

Overview

Enum representing all possible types for a BinaryOperator.

Constant Summary collapse

EQUAL =

with this type, a CriteriaOperator::BinaryOperator will check for equality of both operands

1
NOT_EQUAL =

with this type, a CriteriaOperator::BinaryOperator will check for no equality of both operands

2
GREATER =

with this type, a CriteriaOperator::BinaryOperator will check if the left operand is greater than the right operand

4
GREATER_OR_EQUAL =

with this type, a CriteriaOperator::BinaryOperator will check if the left operand is greater than or equal to the right operand

8
LESS =

with this type, a CriteriaOperator::BinaryOperator will check if the left operand is less than the right operand

16
LESS_OR_EQUAL =

with this type, a CriteriaOperator::BinaryOperator will check if the left operand is less than or equal to the right operand

32