Skip to content

Kirby 4.5.0

$query->delete()

Fires a delete query

$query->delete(mixed $where = null): bool

Parameters

Name Type Default Description
$where mixed null You can pass a where clause here or set it with ->where() before

Return type

bool

Parent class

Kirby\Database\Query