Skip to content

Kirby 6.0.0

Db::execute()

Executes a raw SQL query which expects no set of results (i.e. update, insert, delete)

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

Parameters

Name Type Default
$queryrequired string no default value
$bindings array []

Return type

bool

Parent class

Kirby\Database\Db