Module: CriteriaOperator::UnaryOperatorType
- Defined in:
- lib/criteria_operator/unary_operator.rb
Overview
Enum representing all possible types for a UnaryOperator.
Constant Summary collapse
- NOT =
with this type, a CriteriaOperator::UnaryOperator will inverse the logical value of the operand
1
- IS_NULL =
with this type, a CriteriaOperator::UnaryOperator will check for if the operand equals null/nil
2
- PLUS =
with this type, a CriteriaOperator::UnaryOperator will prepend a numerical positive sign to the operand
4
- MINUS =
with this type, a CriteriaOperator::UnaryOperator will prepend a numerical negative sign to the operand
8