Table of Contents
Methods
-
between()
: array<string|int, mixed>
-
build()
: array<string|int, mixed>
-
combine()
: array<string|int, mixed>
-
eq()
: array<string|int, mixed>
-
gt()
: array<string|int, mixed>
-
gte()
: array<string|int, mixed>
-
in()
: array<string|int, mixed>
-
isNotNull()
: array<string|int, mixed>
-
isNull()
: array<string|int, mixed>
-
like()
: array<string|int, mixed>
-
list()
: array<string|int, mixed>
-
lt()
: array<string|int, mixed>
-
lte()
: array<string|int, mixed>
-
ne()
: array<string|int, mixed>
-
notBetween()
: array<string|int, mixed>
-
notIn()
: array<string|int, mixed>
-
notLike()
: array<string|int, mixed>
between()
public
static between(string $field, mixed $value1, mixed $value2) : array<string|int, mixed>
Parameters
-
$field
: string
-
-
$value1
: mixed
-
-
$value2
: mixed
-
Return values
array<string|int, mixed>
build()
public
static build(string $field, mixed $value[, Operator $operator = Operator::EQ ][, LogicalOperator $logicalOperator = LogicalOperator::AND ]) : array<string|int, mixed>
Parameters
-
$field
: string
-
-
$value
: mixed
-
-
$operator
: Operator
= Operator::EQ
-
-
$logicalOperator
: LogicalOperator
= LogicalOperator::AND
-
Return values
array<string|int, mixed>
combine()
public
static combine(array<string|int, mixed> ...$filters) : array<string|int, mixed>
Parameters
-
$filters
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
eq()
public
static eq(string $field, mixed $value) : array<string|int, mixed>
Parameters
-
$field
: string
-
-
$value
: mixed
-
Return values
array<string|int, mixed>
gt()
public
static gt(string $field, mixed $value) : array<string|int, mixed>
Parameters
-
$field
: string
-
-
$value
: mixed
-
Return values
array<string|int, mixed>
gte()
public
static gte(string $field, mixed $value) : array<string|int, mixed>
Parameters
-
$field
: string
-
-
$value
: mixed
-
Return values
array<string|int, mixed>
in()
public
static in(string $field, array<string|int, mixed> $values) : array<string|int, mixed>
Parameters
-
$field
: string
-
-
$values
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
isNotNull()
public
static isNotNull(string $field) : array<string|int, mixed>
Parameters
-
$field
: string
-
Return values
array<string|int, mixed>
isNull()
public
static isNull(string $field) : array<string|int, mixed>
Parameters
-
$field
: string
-
Return values
array<string|int, mixed>
like()
public
static like(string $field, mixed $value) : array<string|int, mixed>
Parameters
-
$field
: string
-
-
$value
: mixed
-
Return values
array<string|int, mixed>
list()
public
static list(array<string|int, mixed> $fieldsWithValues[, Operator $operator = Operator::EQ ][, LogicalOperator $logicalOperator = LogicalOperator::AND ]) : array<string|int, mixed>
Parameters
-
$fieldsWithValues
: array<string|int, mixed>
-
-
$operator
: Operator
= Operator::EQ
-
-
$logicalOperator
: LogicalOperator
= LogicalOperator::AND
-
Return values
array<string|int, mixed>
lt()
public
static lt(string $field, mixed $value) : array<string|int, mixed>
Parameters
-
$field
: string
-
-
$value
: mixed
-
Return values
array<string|int, mixed>
lte()
public
static lte(string $field, mixed $value) : array<string|int, mixed>
Parameters
-
$field
: string
-
-
$value
: mixed
-
Return values
array<string|int, mixed>
ne()
public
static ne(string $field, mixed $value) : array<string|int, mixed>
Parameters
-
$field
: string
-
-
$value
: mixed
-
Return values
array<string|int, mixed>
notBetween()
public
static notBetween(string $field, mixed $value1, mixed $value2) : array<string|int, mixed>
Parameters
-
$field
: string
-
-
$value1
: mixed
-
-
$value2
: mixed
-
Return values
array<string|int, mixed>
notIn()
public
static notIn(string $field, array<string|int, mixed> $values) : array<string|int, mixed>
Parameters
-
$field
: string
-
-
$values
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
notLike()
public
static notLike(string $field, mixed $value) : array<string|int, mixed>
Parameters
-
$field
: string
-
-
$value
: mixed
-
Return values
array<string|int, mixed>