class documentation

class Reference:

Known subclasses: django.db.backends.ddl_references.Statement, django.db.backends.ddl_references.Table

View In Hierarchy

Base class that defines the reference interface.
Method __repr__ 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.
def __repr__(self):

Undocumented

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.