public function update () : bool
	{
        $dbObject 	= Database::getInstance();
		$sqlQuery 	= "UPDATE ".static::$tableName." SET ".$this->generateQueryForUPdate();
		$sqlQuery  .= " WHERE id = ". $dbObject->escapeValue($this->id);
		$result 	= $dbObject->query($sqlQuery);
    	return ($result) ? TRUE : FALSE;
	}
public function update () : bool
	{
        $dbObject 	= Database::getInstance();
		$sqlQuery 	= "UPDATE ".static::$tableName." SET ".$this->generateQueryForUPdate();
		$sqlQuery  .= " WHERE id = ". $dbObject->escapeValue($this->id);
		$result 	= $dbObject->query($sqlQuery);
    	return ($result) ? TRUE : FALSE;
	}
public function update ( ) : bool { $ dbObject = Database :: getInstance ( ) ; $ sqlQuery = "UPDATE " . static :: $ tableName . " SET " . $ this -> generateQueryForUPdate ( ) ; $ sqlQuery .= " WHERE id = " . $ dbObject -> escapeValue ( $ this -> id ) ; $ result = $ dbObject -> query ( $ sqlQuery ) ; return ( $ result ) ? TRUE : FALSE ; }
Update new record in the database.
@return bool
Update new record in the database .