method delete documentation in bbn\Db\Languages\Sql

Deletes row(s) in a table.

$db->delete("table_users", ['id' => '32']);

function($table, array $where = NULL, bool $ignore = false) { $cfg = \is_array($table) ? $table : [ 'tables' => [$table], 'where' => $where, 'ignore' => $ignore ]; $cfg['kind'] = 'DELETE'; return $this->_exec($cfg); }

Deletes row(s) in a table. 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.