FilterLogic uses ConstantsTrait
Table of Contents
Constants
- AND : string = 'and'
- NOT : string = 'not'
- OR : string = 'or'
- __ALIAS__ : array<string|int, mixed> = [self::AND => \oihana\arango\db\enums\Logic::AN...
Methods
- getAlias() : mixed
- Returns a valid filter logic operator alias or the default alias.
Constants
AND
public
string
AND
= 'and'
NOT
public
string
NOT
= 'not'
OR
public
string
OR
= 'or'
__ALIAS__
protected
array<string|int, mixed>
__ALIAS__
= [self::AND => \oihana\arango\db\enums\Logic::AND, self::NOT => \oihana\arango\db\enums\Logic::NOT, self::OR => \oihana\arango\db\enums\Logic::OR]
Methods
getAlias()
Returns a valid filter logic operator alias or the default alias.
public
static getAlias(mixed $value[, mixed|null $default = Logic::AND ]) : mixed
Parameters
- $value : mixed
- $default : mixed|null = Logic::AND