class documentation

class ForeignKeyName(TableColumns): (source)

View In Hierarchy

Hold a reference to a foreign key name.

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 create_fk_name Undocumented
Instance Variable suffix_template Undocumented
Instance Variable to_reference Undocumented

Inherited from TableColumns:

Instance Variable columns Undocumented
Instance Variable table Undocumented

Inherited from Table (via TableColumns):

Instance Variable quote_name Undocumented

Inherited from Reference (via TableColumns, Table):

Method __repr__ Undocumented
def __init__(self, from_table, from_columns, to_table, to_columns, suffix_template, create_fk_name): (source)
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.

create_fk_name = (source)

Undocumented

suffix_template = (source)

Undocumented

to_reference = (source)

Undocumented