method updateIgnore documentation in bbn\Db

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

$db->updateIgnore( "table_users", [ ['name' => 'Frank'], ['surname' => 'Red'] ], ['id' => '20'] );

function($table, array $values = NULL, array $where = NULL) { return $this->update($table, $values, $where, true); }

If exist updates 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.