class documentation

class ForeignKeyName(TableColumns):

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):
def __str__(self):
def references_column(self, table, column):
Return whether or not this instance references the specified column.
def references_table(self, table):
Return whether or not this instance references the specified table.
def rename_column_references(self, table, old_column, new_column):
Rename all references to the old_column to the new_column.
def rename_table_references(self, old_table, new_table):
Rename all references to the old_name to the new_table.
create_fk_name =

Undocumented

suffix_template =

Undocumented

to_reference =

Undocumented