public function update(Record $model)
    {
        $query = $this->updateQuery($model);

        if ($query) {
            return $query->execute();
        }

        return false;
    }
public function update(Record $model)
    {
        $query = $this->updateQuery($model);

        if ($query) {
            return $query->execute();
        }

        return false;
    }
public function update ( Record $ model ) { $ query = $ this -> updateQuery ( $ model ) ; if ( $ query ) { return $ query -> execute ( ) ; } return false ; }
Updates a Record's database entry
@param Record $model
@return bool|Result
Updates a Record s database entry