$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
This method modifies the existing $query
object it is applied to and returns it again.