method deleteIgnore documentation in bbn\Db

If exist deletes row(s) in a table, else ignore.

$db->deleteIgnore( "table_users", ['id' => '20'] );

function($table, array $where = NULL) { return $this->delete(\is_array($table) ? array_merge($table, ['ignore' => true]) : $table, $where, true); }

If exist deletes row(s) in a table, else ignore. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.