QRY_Condition.Operator
Class
apex
global enum QRY_Condition.OperatorSOQL comparison operators used to build query conditions. Operator SOQL Description EQUALS = Equal to NOT_EQUALS != Not equal to LESS_THAN < Less than LESS_THAN_OR_EQUAL_TO <= Less than or equal to GREATER_THAN > Greater than GREATER_THAN_OR_EQUAL_TO >= Greater than or equal to LIKE_X LIKE Pattern matching IN_X IN Value in set NOT_IN NOT IN Value not in set INCLUDES INCLUDES Multi-select picklist includes EXCLUDES EXCLUDES Multi-select picklist excludes
Since: 1.0
Values
| Value | Description |
|---|---|
| global EQUALS | Equal to (=) |
| global EXCLUDES | Multi-select picklist excludes |
| global GREATER_THAN | Greater than (>) |
| global GREATER_THAN_OR_EQUAL_TO | Greater than or equal to (>=) |
| global IN_X | Value in set (IN) |
| global INCLUDES | Multi-select picklist includes |
| global LESS_THAN | Less than (<) |
| global LESS_THAN_OR_EQUAL_TO | Less than or equal to (<=) |
| global LIKE_X | Pattern matching (LIKE) |
| global NOT_EQUALS | Not equal to (!=) |
| global NOT_IN | Value not in set (NOT IN) |
Value Details
EQUALS
apex
global EQUALSEqual to (=)
EXCLUDES
apex
global EXCLUDESMulti-select picklist excludes
GREATER_THAN
apex
global GREATER_THANGreater than (>)
GREATER_THAN_OR_EQUAL_TO
apex
global GREATER_THAN_OR_EQUAL_TOGreater than or equal to (>=)
IN_X
apex
global IN_XValue in set (IN)
INCLUDES
apex
global INCLUDESMulti-select picklist includes
LESS_THAN
apex
global LESS_THANLess than (<)
LESS_THAN_OR_EQUAL_TO
apex
global LESS_THAN_OR_EQUAL_TOLess than or equal to (<=)
LIKE_X
apex
global LIKE_XPattern matching (LIKE)
NOT_EQUALS
apex
global NOT_EQUALSNot equal to (!=)
NOT_IN
apex
global NOT_INValue not in set (NOT IN)