class documentation

Statement template and formatting parameters container. Allows keeping a reference to a statement without interpolating identifiers that might have to be adjusted if they're referencing a table or column that is removed

Method __init__ Undocumented
Method __str__ Undocumented
Method references_column Return whether or not this instance references the specified column.
Method references_table Return whether or not this instance references the specified table.
Method rename_column_references Rename all references to the old_column to the new_column.
Method rename_table_references Rename all references to the old_name to the new_table.
Instance Variable parts Undocumented
Instance Variable template Undocumented

Inherited from Reference:

Method __repr__ Undocumented
def __init__(self, template, **parts): (source)

Undocumented

def references_column(self, table, column): (source)

Return whether or not this instance references the specified column.

def references_table(self, table): (source)

Return whether or not this instance references the specified table.

def rename_column_references(self, table, old_column, new_column): (source)

Rename all references to the old_column to the new_column.

def rename_table_references(self, old_table, new_table): (source)

Rename all references to the old_name to the new_table.

Undocumented

template = (source)

Undocumented