class Join:
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 |