/** * Update statement * * Generates a platform-specific update string from the supplied data * * @param $table * @param $values * * @return string * @throws DatabaseException * @internal param the $string table name * @internal param the $array update data * */ protected function _update($table, $values) { if (!empty($this->QBLimit)) { throw new DatabaseException('Postgres does not support LIMITs with UPDATE queries.'); } $this->QBOrderBy = []; return parent::_update($table, $values); }