class SelectState(util.MemoizedSlots, CompileState): (source)
Known subclasses: sqlalchemy.orm.context.ORMSelectCompileState
Undocumented
Class Method | all |
Undocumented |
Class Method | determine |
Undocumented |
Class Method | from |
Undocumented |
Class Method | get |
Undocumented |
Class Method | get |
Undocumented |
Class Method | get |
Undocumented |
Method | __init__ |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Class Variable | default |
Undocumented |
Instance Variable | columns |
Undocumented |
Instance Variable | from |
Undocumented |
Instance Variable | froms |
Undocumented |
Instance Variable | statement |
Undocumented |
Class Method | _column |
Undocumented |
Class Method | _normalize |
given an iterable of things to select FROM, reduce them to what would actually render in the FROM clause of a SELECT. |
Class Method | _plugin |
Undocumented |
Method | _get |
Return the full list of 'from' clauses to be displayed. |
Method | _get |
Undocumented |
Method | _join |
When join conditions don't express the left side explicitly, determine if an existing FROM or entity in this query can serve as the left hand side. |
Method | _join |
Undocumented |
Method | _memoized |
Undocumented |
Method | _setup |
Undocumented |
Instance Variable | _ambiguous |
Undocumented |
Inherited from MemoizedSlots
:
Method | __getattr__ |
Undocumented |
Method | _fallback |
Undocumented |
Inherited from CompileState
(via MemoizedSlots
):
Class Method | create |
Undocumented |
Class Method | plugin |
Undocumented |
Class Variable | plugins |
Undocumented |
Class Method | _get |
Undocumented |
def determine_last_joined_entity(cls, stmt:
Select[ Any]
) -> Optional[ _JoinTargetElement]
:
(source)
¶
sqlalchemy.orm.context.ORMSelectCompileState
Undocumented
def from_statement(cls, statement:
Select[ Any]
, from_statement: roles.ReturnsRowsRole
) -> ExecutableReturnsRows
:
(source)
¶
sqlalchemy.orm.context.ORMSelectCompileState
Undocumented
def get_column_descriptions(cls, statement:
Select[ Any]
) -> List[ Dict[ str, Any]]
:
(source)
¶
Undocumented
def get_columns_clause_froms(cls, statement:
Select[ Any]
) -> List[ FromClause]
:
(source)
¶
sqlalchemy.orm.context.ORMSelectCompileState
Undocumented
def _column_naming_convention(cls, label_style:
SelectLabelStyle
) -> _LabelConventionCallable
:
(source)
¶
Undocumented
def _normalize_froms(cls, iterable_of_froms:
Iterable[ FromClause]
, check_statement: Optional[ Select[ Any]]
= None, ambiguous_table_name_map: Optional[ _AmbiguousTableNameMap]
= None) -> List[ FromClause]
:
(source)
¶
given an iterable of things to select FROM, reduce them to what would actually render in the FROM clause of a SELECT. This does the job of checking for JOINs, tables, etc. that are in fact overlapping due to cloning, adaption, present in overlapping joins, etc.
Optional[ Sequence[ FromClause]]
= None, implicit_correlate_froms: Optional[ Sequence[ FromClause]]
= None) -> List[ FromClause]
:
(source)
¶
Return the full list of 'from' clauses to be displayed. Takes into account a set of existing froms which may be rendered in the FROM clause of enclosing selects; this Select may want to leave those absent if it is automatically correlating.
def _join_determine_implicit_left_side(self, raw_columns:
List[ _ColumnsClauseElement]
, left: Optional[ FromClause]
, right: _JoinTargetElement
, onclause: Optional[ ColumnElement[ Any]]
) -> Tuple[ Optional[ FromClause], Optional[ int]]
:
(source)
¶
sqlalchemy.orm.context.ORMSelectCompileState
When join conditions don't express the left side explicitly, determine if an existing FROM or entity in this query can serve as the left hand side.
def _join_place_explicit_left_side(self, left:
FromClause
) -> Optional[ int]
:
(source)
¶
sqlalchemy.orm.context.ORMSelectCompileState
Undocumented
Tuple[ Dict[ str, ColumnElement[ Any]], Dict[ str, ColumnElement[ Any]], Dict[ str, ColumnElement[ Any]]]
:
(source)
¶
Undocumented
Tuple[ _SetupJoinsElement, ...]
, raw_columns: List[ _ColumnsClauseElement]
):
(source)
¶
Undocumented