Function db_delete_multi
Handy MYSQL delete operation for multiple records
Package: PHPLucidFrame\Core
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/db_helper.mysqli.php
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/db_helper.mysqli.php
string |
$table |
Table name without prefix |
string|array |
$condition = null |
<p>The array of condition for delete - field names and values, for example</p> <p>array( 'fieldName1' => $value1, 'fieldName2 >=' => $value2, 'fieldName3 => NULL )</p> <p>The built condition string, for example,</p> <p>db_or(array( 'fieldName1' => $value1, 'fieldName2 >=' => $value2, 'fieldName3 => NULL ))</p> |
boolean
|
Returns TRUE on success or FALSE on failure |