public function updateID($id, array $set): int {
        $r = $this->update($set, $this->mapID($id));
        return $r;
    }
public function updateID($id, array $set): int {
        $r = $this->update($set, $this->mapID($id));
        return $r;
    }
public function updateID ( $ id , array $ set ) : int { $ r = $ this -> update ( $ set , $ this -> mapID ( $ id ) ) ; return $ r ; }
Update a row in the database with a known primary key.

@param mixed $id A single ID value or an array for multi-column primary keys.
@param array $set The columns to update.
@return int Returns the number of affected rows.
@throws ValidationException Throws an exception if the row doesn't validate.
@throws \Garden\Schema\RefNotFoundException Throws an exception if you have an invalid schema reference.
Update a row in the database with a known primary key .