public delete ( string $table, array | string $condition = '', array $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 [[Query::where()]] on how to specify conditions. |
$params | array | the parameters to be bound to the query. |