Skip to content

Kirby 6.0.0

$sql->where()

Creates the where syntax

$sql->where(array|string|null $where, array $bindings = []): array{query: string|null, bindings: array}

Parameters

Name Type Default
$where arrayorstringornull no default value
$bindings array []

Return type

array{query: string|null, bindings: array}

Parent class

Kirby\Database\Sql