class documentation

class SubqueryLoader(PostLoader):

View In Hierarchy

Undocumented

Class _​Subq​Collections Given a _query.Query used to emit the "subquery load", provide a load interface that executes the query at the first moment a value is needed.
Method __init__ Undocumented
Method ​_apply​_joins Undocumented
Method ​_create​_collection​_loader Undocumented
Method ​_create​_scalar​_loader Undocumented
Method ​_generate​_from​_original​_query Undocumented
Method ​_get​_leftmost Undocumented
Method ​_prep​_for​_joins Undocumented
Method ​_setup​_options Undocumented
Method ​_setup​_outermost​_orderby Undocumented
Method ​_setup​_query​_from​_rowproc Undocumented
Method create​_row​_processor Establish row processing functions for a given QueryContext.
Method init​_class​_attribute Undocumented
Class Variable __slots__ Undocumented
Instance Variable join​_depth Undocumented

Inherited from PostLoader:

Method ​_check​_recursive​_postload Undocumented
Method ​_immediateload​_create​_row​_processor Undocumented

Inherited from AbstractRelationshipLoader (via PostLoader):

Instance Variable entity Undocumented
Instance Variable mapper Undocumented
Instance Variable target Undocumented
Instance Variable uselist Undocumented

Inherited from LoaderStrategy (via PostLoader, AbstractRelationshipLoader):

Method __str__ Undocumented
Method setup​_query Establish column and other state for a given QueryContext.
Instance Variable is​_class​_level Undocumented
Instance Variable key Undocumented
Instance Variable parent Undocumented
Instance Variable parent​_property Undocumented
Instance Variable strategy​_key Undocumented
Instance Variable strategy​_opts Undocumented
def __init__(self, parent, strategy_key):
def _apply_joins(self, q, to_join, left_alias, parent_alias, effective_entity):

Undocumented

def _create_collection_loader(self, context, result, collections, local_cols, populators):

Undocumented

def _create_scalar_loader(self, context, result, collections, local_cols, populators):

Undocumented

def _generate_from_original_query(self, orig_compile_state, orig_query, leftmost_mapper, leftmost_attr, leftmost_relationship, orig_entity):

Undocumented

def _get_leftmost(self, orig_query_entity_index, subq_path, current_compile_state, is_root):

Undocumented

def _prep_for_joins(self, left_alias, subq_path):

Undocumented

def _setup_options(self, context, q, subq_path, rewritten_path, orig_query, effective_entity, loadopt):

Undocumented

def _setup_outermost_orderby(self, q):

Undocumented

def _setup_query_from_rowproc(self, context, query_entity, path, entity, loadopt, adapter):

Undocumented

def create_row_processor(self, context, query_entity, path, loadopt, mapper, result, adapter, populators):

Establish row processing functions for a given QueryContext.

This method fulfills the contract specified by MapperProperty.create_row_processor().

StrategizedProperty delegates its create_row_processor() method directly to this method.

def init_class_attribute(self, mapper):
__slots__: tuple[str, ...] =
join_depth =

Undocumented