src/Towel/Model/BaseModel.php
public function update() {
    $this->db()->update($this->table, $this->record, $this->identifier());
    $this->isDirty = FALSE;

    return $this;
  }
public function update() {
    $this->db()->update($this->table, $this->record, $this->identifier());
    $this->isDirty = FALSE;

    return $this;
  }
public function update ( ) { $ this -> db ( ) -> update ( $ this -> table , $ this -> record , $ this -> identifier ( ) ) ; $ this -> isDirty = FALSE ; return $ this ; }
Updates the record.

@return $this
Updates the record .