class documentation

Used by sql.Query and sql.SQLCompiler to generate JOIN clauses into the FROM entry. For example, the SQL generated could be LEFT OUTER JOIN "sometable" T1 ON ("othertable"."sometable_id" = "sometable"."id") This class is primarily used in Query.alias_map. All entries in alias_map must be Join compatible by providing the following attributes and methods: - table_name (string) - table_alias (possible alias for the table, can be None) - join_type (can be None for those entries that aren't joined from anything) - parent_alias (which table is this join's parent, can be None similarly to join_type) - as_sql() - relabeled_clone()

Method __eq__ Undocumented
Method __hash__ Undocumented
Method __init__ Undocumented
Method as_sql Generate the full LEFT OUTER JOIN sometable ON sometable.somecol = othertable.othercol, params clause for this join.
Method demote Undocumented
Method equals Undocumented
Method promote Undocumented
Method relabeled_clone Undocumented
Instance Variable filtered_relation Undocumented
Instance Variable join_cols Undocumented
Instance Variable join_field Undocumented
Instance Variable join_type Undocumented
Instance Variable nullable Undocumented
Instance Variable parent_alias Undocumented
Instance Variable table_alias Undocumented
Instance Variable table_name Undocumented
Property identity Undocumented
def __eq__(self, other): (source)

Undocumented

def __hash__(self): (source)

Undocumented

def __init__(self, table_name, parent_alias, table_alias, join_type, join_field, nullable, filtered_relation=None): (source)

Undocumented

def as_sql(self, compiler, connection): (source)

Generate the full LEFT OUTER JOIN sometable ON sometable.somecol = othertable.othercol, params clause for this join.

def demote(self): (source)

Undocumented

def equals(self, other): (source)

Undocumented

def promote(self): (source)

Undocumented

def relabeled_clone(self, change_map): (source)

Undocumented

filtered_relation = (source)

Undocumented

join_cols = (source)

Undocumented

join_field = (source)

Undocumented

join_type = (source)

Undocumented

nullable = (source)

Undocumented

parent_alias = (source)

Undocumented

table_alias = (source)

Undocumented

table_name = (source)

Undocumented

Undocumented