def value(self):
        "Caculates and returns the value of view's query."
        data = self.__query(self.__database)
        table = data if isinstance(data, Table) else Table.from_iter(data)
        for old, new in self.__name_changes:
            table.alter_name(old, new)
        return table
Caculates and returns the value of view's query.
recipes/Python/577825_Rudimentary_Database_Engine/recipe-577825.py