method getDelete documentation in bbn\Db

Returns the SQL code for a DELETE statement.

Example

X::dump($db->getDelete(['tables' => ['table_users']])); // (string) DELETE FROM `db_example`.`table_users` * WHERE 1 AND `table_users`.`id` = ? function(array $cfg) { $this->ensureLanguageMethodExists(__FUNCTION__); $cfg['kind'] = 'DELETE'; return $this->language->getDelete($this->processCfg($cfg)); }

Returns the SQL code for a DELETE statement. 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.