class documentation

class ORMFromStatementCompileState(ORMCompileState):

View In Hierarchy

Undocumented

Class Method create​_for​_statement Create a context for a statement given a .Compiler.
Method ​_adapt​_col​_list Undocumented
Method ​_get​_current​_adapter Undocumented
Class Variable ​_aliased​_generations Undocumented
Class Variable ​_from​_obj​_alias Undocumented
Class Variable ​_has​_mapper​_entities Undocumented
Class Variable ​_has​_orm​_entities Undocumented
Class Variable compound​_eager​_adapter Undocumented
Class Variable multi​_row​_eager​_loaders Undocumented
Instance Variable ​_entities Undocumented
Instance Variable ​_fallback​_from​_clauses Undocumented
Instance Variable ​_label​_convention Undocumented
Instance Variable ​_no​_yield​_pers Undocumented
Instance Variable ​_polymorphic​_adapters Undocumented
Instance Variable ​_primary​_entity Undocumented
Instance Variable attributes Undocumented
Instance Variable compile​_options Undocumented
Instance Variable create​_eager​_joins Undocumented
Instance Variable current​_path Undocumented
Instance Variable dedupe​_columns Undocumented
Instance Variable dml​_table Undocumented
Instance Variable extra​_criteria​_entities Undocumented
Instance Variable global​_attributes Undocumented
Instance Variable order​_by Undocumented
Instance Variable primary​_columns Undocumented
Instance Variable requested​_statement Undocumented
Instance Variable secondary​_columns Undocumented
Instance Variable select​_statement Undocumented
Instance Variable statement Undocumented
Instance Variable statement​_container Undocumented
Instance Variable use​_legacy​_query​_style Undocumented

Inherited from ORMCompileState:

Class Method get​_column​_descriptions Undocumented
Class Method orm​_pre​_session​_exec Undocumented
Class Method orm​_setup​_cursor​_result Undocumented
Class default​_compile​_options Undocumented
Class Method ​_column​_naming​_convention Undocumented
Class Method ​_create​_entities​_collection Undocumented
Method __init__ Undocumented
Method ​_append​_dedupe​_col​_collection Undocumented
Method ​_create​_with​_polymorphic​_adapter Undocumented
Method ​_mapper​_loads​_polymorphically​_with Undocumented
Property ​_lead​_mapper​_entities return all _MapperEntity objects in the lead entities collection.

Inherited from CompileState (via ORMCompileState):

Class Method get​_plugin​_class Undocumented
Class Method plugin​_for Undocumented
Class Method ​_get​_plugin​_class​_for​_plugin Undocumented
Class Variable __slots__ Undocumented
Class Variable plugins Undocumented
@classmethod
def create_for_statement(cls, statement_container, compiler, **kw):

Create a context for a statement given a .Compiler.

This method is always invoked in the context of SQLCompiler.process().

For a Select object, this would be invoked from SQLCompiler.visit_select(). For the special FromStatement object used by Query to indicate "Query.from_statement()", this is called by FromStatement._compiler_dispatch() that would be called by SQLCompiler.process().

def _adapt_col_list(self, cols, current_adapter):

Undocumented

def _get_current_adapter(self):

Undocumented

_aliased_generations =

Undocumented

_from_obj_alias =

Undocumented

_has_mapper_entities: bool =

Undocumented

_has_orm_entities: bool =

Undocumented

compound_eager_adapter =

Undocumented

multi_row_eager_loaders: bool =

Undocumented

_entities: list =

Undocumented

_fallback_from_clauses: list =

Undocumented

_label_convention =

Undocumented

_no_yield_pers: set =

Undocumented

_polymorphic_adapters: dict =

Undocumented

_primary_entity =

Undocumented

attributes: dict[str, set] =

Undocumented

compile_options =

Undocumented

create_eager_joins: list =

Undocumented

current_path =

Undocumented

dedupe_columns: set =

Undocumented

dml_table =

Undocumented

extra_criteria_entities: dict =

Undocumented

global_attributes =

Undocumented

order_by =

Undocumented

primary_columns: list =

Undocumented

requested_statement =

Undocumented

secondary_columns: list =

Undocumented

select_statement =

Undocumented

statement =
statement_container =

Undocumented

use_legacy_query_style =

Undocumented