public delete ( string $table, string | array $condition = '', array $params = [] ) | ||
$table | string | the table where the data will be deleted from. |
$condition | string | array | the condition that will be put in the WHERE part. Please refer to [[Query::where()]] on how to specify condition. |
$params | array | the parameters to be bound to the command |