delete() public method
Creates and executes a DELETE SQL statement.
| public void delete ( $table, $condition = '', $params = [] ) | ||
|---|---|---|
| $table | string |
The table where the data will be deleted from. |
| $condition | array|string |
The conditions that will be put in the WHERE part. Please refer to yii\db\Query::where() on how to specify conditions. |
| $params | array |
The parameters to be bound to the query. |
Please login to continue.