Handy MYSQL delete operation for multiple records
Parameters | |||
---|---|---|---|
string
|
$table |
Table name without prefix |
# |
array
|
$condition = null |
The array of condition for delete - field names and values, for example |
# |
boolean
|
$softDelete = false |
Soft delete or not |
# |
Returns | |
---|---|
boolean
|
Returns TRUE on success or FALSE on failure |