Skip to content

Kirby 6.0.0

$sqlite->where()

Creates the where syntax

$sqlite->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\Sqlite inherited from Kirby\Database\Sql