Methods |
public
static
|
getReadableProperties(): array
Get readable properties
Get readable properties
If ["*"] is returned, all protected properties are readable.
Implements
|
#
|
public
|
__construct(callable(string): string $paramCallback)
Creates a new SqlQuery object
Creates a new SqlQuery object
Parameters
$paramCallback |
Applied to the name of
each parameter added to the query.
|
|
#
|
public
|
addParam(string $name, mixed $value, ?string &$placeholder): $this
Add a parameter and assign its query placeholder to a variable
Add a parameter and assign its query placeholder to a variable
|
#
|
public
|
where((callable(): (string|mixed[]))|string|mixed[] $condition): $this
Add a WHERE condition
|
#
|
public
|
whereValueInList(string $name, mixed ...$value): $this
Add a list of values as a WHERE condition ("<name> IN (<value>...)")
unless the list is empty
Add a list of values as a WHERE condition (" IN (...)")
unless the list is empty
|
#
|
public
|
getWhere(array<string, mixed>|null &$values = null): ?string
Prepare a WHERE condition for use in a SQL statement
Prepare a WHERE condition for use in a SQL statement
|
#
|