Skip to content

Kirby 4.5.0

Db::query()

Executes a raw SQL query which expects a set of results

Db::query(string $query, array $bindings = [ ], array $params = [ ])

Parameters

Name Type Default
$query * string
$bindings array [ ]
$params array [ ]

Parent class

Kirby\Database\Db