class documentation

class ORMFromStatementCompileState(ORMCompileState): (source)

View In Hierarchy

Undocumented

Class Method create_for_statement Create a context for a statement given a :class:`.Compiler`.
Method setup_dml_returning_compile_state used by BulkORMInsert (and Update / Delete?) to set up a handler for RETURNING to return ORM objects and expressions
Class Variable compound_eager_adapter Undocumented
Class Variable eager_adding_joins Undocumented
Class Variable multi_row_eager_loaders 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 is_dml_returning 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
Method _adapt_col_list Undocumented
Method _get_current_adapter Undocumented
Class Variable _from_obj_alias Undocumented
Class Variable _has_mapper_entities Undocumented
Class Variable _has_orm_entities Undocumented
Instance Variable _entities Undocumented
Instance Variable _fallback_from_clauses Undocumented
Instance Variable _label_convention Undocumented
Instance Variable _polymorphic_adapters Undocumented
Instance Variable _primary_entity Undocumented

Inherited from ORMCompileState:

Class default_compile_options Undocumented
Class Method get_column_descriptions Undocumented
Class Method orm_pre_session_exec Undocumented
Class Method orm_setup_cursor_result Undocumented
Method __init__ Undocumented
Class Method _column_naming_convention Undocumented
Class Method _create_entities_collection Undocumented
Method _append_dedupe_col_collection Undocumented
Method _create_with_polymorphic_adapter given MapperEntity or ORMColumnEntity, setup polymorphic loading if called for by the Mapper.
Method _mapper_loads_polymorphically_with Undocumented
Property _lead_mapper_entities return all _MapperEntity objects in the lead entities collection.

Inherited from AbstractORMCompileState (via ORMCompileState):

Class Method orm_execute_statement Undocumented

Inherited from CompileState (via ORMCompileState, AbstractORMCompileState):

Class Method get_plugin_class Undocumented
Class Method plugin_for Undocumented
Class Variable __slots__ Undocumented
Class Variable plugins Undocumented
Class Method _get_plugin_class_for_plugin Undocumented
Class Variable _ambiguous_table_name_map Undocumented
@classmethod
def create_for_statement(cls, statement_container: Union[Select, FromStatement], compiler: Optional[SQLCompiler], **kw: Any) -> ORMFromStatementCompileState: (source)

Create a context for a statement given a :class:`.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 setup_dml_returning_compile_state(self, dml_mapper): (source)

used by BulkORMInsert (and Update / Delete?) to set up a handler for RETURNING to return ORM objects and expressions

compound_eager_adapter = (source)

Undocumented

eager_adding_joins: bool = (source)

Undocumented

multi_row_eager_loaders: bool = (source)

Undocumented

current_path = (source)

Undocumented

dml_table = (source)

Undocumented

extra_criteria_entities: dict = (source)

Undocumented

order_by = (source)

Undocumented

requested_statement = (source)

Undocumented

statement_container = (source)

Undocumented

def _adapt_col_list(self, cols, current_adapter): (source)

Undocumented

def _get_current_adapter(self): (source)

Undocumented

_from_obj_alias = (source)

Undocumented

_has_orm_entities: bool = (source)

Undocumented

_fallback_from_clauses: list = (source)

Undocumented