/** * Update row * * @param SeekR_Row $row */ public final function updateRow(SeekR_Row $row) { // Insert $this->_db->query("UPDATE {$this->_db->quoteIdentifier($this->_name)}\nSET " . $this->_setValues(array_diff_assoc($row->toArray(), $row->getPrimaryKey())) . "\nWHERE " . $this->buildWhere($row->getPrimaryKey())); // Refresh $this->refreshRow($row); }