Skip to content

Kirby 4.4.1

$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