Skip to content

QRY_Condition.Operator ​

Class

apex
global enum QRY_Condition.Operator

SOQL 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


Inner Classes ​

ClassDescription
EQUALSEqual to (=)
EXCLUDESMulti-select picklist excludes
GREATER_THANGreater than (>)
GREATER_THAN_OR_EQUAL_TOGreater than or equal to (>=)
IN_XValue in set (IN)
INCLUDESMulti-select picklist includes
LESS_THANLess than (<)
LESS_THAN_OR_EQUAL_TOLess than or equal to (<=)
LIKE_XPattern matching (LIKE)
NOT_EQUALSNot equal to (!=)
NOT_INValue not in set (NOT IN)

Value Details ​

EQUALS ​

apex
global EQUALS

Equal to (=)

EXCLUDES ​

apex
global EXCLUDES

Multi-select picklist excludes

GREATER_THAN ​

apex
global GREATER_THAN

Greater than (>)

GREATER_THAN_OR_EQUAL_TO ​

apex
global GREATER_THAN_OR_EQUAL_TO

Greater than or equal to (>=)

IN_X ​

apex
global IN_X

Value in set (IN)

INCLUDES ​

apex
global INCLUDES

Multi-select picklist includes

LESS_THAN ​

apex
global LESS_THAN

Less than (<)

LESS_THAN_OR_EQUAL_TO ​

apex
global LESS_THAN_OR_EQUAL_TO

Less than or equal to (<=)

LIKE_X ​

apex
global LIKE_X

Pattern matching (LIKE)

NOT_EQUALS ​

apex
global NOT_EQUALS

Not equal to (!=)

NOT_IN ​

apex
global NOT_IN

Value not in set (NOT IN)