Skip to content

Kirby 4.5.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
$query * string
$bindings array [ ]

Return type

bool

Parent class

Kirby\Database\Db