ESQLOperator extends Enum
Valid SQL Comparison operators
Tags
Table of Contents
GREATER_THAN | '>' | |
---|---|---|
GREATER_THAN_EQUAL | '>=' | |
LESS_THAN | '<' | |
LESS_THAN_EQUAL | '<=' | |
EQUAL | '=' | |
NOT_EQUAL | '<>' | |
NOT_LIKE | 'not like' | |
LIKE | 'like' | |
IN | 'in' | |
NOT_IN | 'not in' | |
BETWEEN | 'between' | |
NOT_BETWEEN | 'not between' | |
IS_NULL | 'is null' | |
IS_NOT_NULL | 'is not null' | |
$enum | array | |
getOperatorAndValue() | mixed |
Constants
GREATER_THAN
public
mixed
$GREATER_THAN
= '>'
GREATER_THAN_EQUAL
public
mixed
$GREATER_THAN_EQUAL
= '>='
LESS_THAN
public
mixed
$LESS_THAN
= '<'
LESS_THAN_EQUAL
public
mixed
$LESS_THAN_EQUAL
= '<='
EQUAL
public
mixed
$EQUAL
= '='
NOT_EQUAL
public
mixed
$NOT_EQUAL
= '<>'
NOT_LIKE
public
mixed
$NOT_LIKE
= 'not like'
LIKE
public
mixed
$LIKE
= 'like'
IN
public
mixed
$IN
= 'in'
NOT_IN
public
mixed
$NOT_IN
= 'not in'
BETWEEN
public
mixed
$BETWEEN
= 'between'
NOT_BETWEEN
public
mixed
$NOT_BETWEEN
= 'not between'
IS_NULL
public
mixed
$IS_NULL
= 'is null'
IS_NOT_NULL
public
mixed
$IS_NOT_NULL
= 'is not null'
Properties
$enum
protected
array
$enum
= [self::GREATER_THAN, self::GREATER_THAN_EQUAL, self::LESS_THAN, self::LESS_THAN_EQUAL, self::EQUAL, self::NOT_EQUAL, self::NOT_LIKE, self::LIKE, self::IN, self::NOT_IN, self::BETWEEN, self::NOT_BETWEEN, self::IS_NULL, self::IS_NOT_NULL]
Methods
getOperatorAndValue()
public
getOperatorAndValue(
$value :
mixed
)
: mixed
Parameters
- $value : mixed