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

Since: 1.0


Values

ValueDescription
global EQUALSEqual to (=)
global EXCLUDESMulti-select picklist excludes
global GREATER_THANGreater than (>)
global GREATER_THAN_OR_EQUAL_TOGreater than or equal to (>=)
global IN_XValue in set (IN)
global INCLUDESMulti-select picklist includes
global LESS_THANLess than (<)
global LESS_THAN_OR_EQUAL_TOLess than or equal to (<=)
global LIKE_XPattern matching (LIKE)
global NOT_EQUALSNot equal to (!=)
global 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)