class documentation

class SubqueryLoader(PostLoader): (source)

View In Hierarchy

Undocumented

Method __init__ 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
Class _SubqCollections Given a :class:`_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 _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

Inherited from PostLoader:

Method _setup_for_recursion Undocumented

Inherited from AbstractRelationshipLoader (via PostLoader):

Instance Variable entity Undocumented
Instance Variable mapper Undocumented
Instance Variable target Undocumented
Instance Variable uselist Undocumented
Method _immediateload_create_row_processor 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
Class Variable _strategy_keys Undocumented
def __init__(self, parent, strategy_key): (source)
def create_row_processor(self, context, query_entity, path, loadopt, mapper, result, adapter, populators): (source)

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): (source)
join_depth = (source)

Undocumented

def _apply_joins(self, q, to_join, left_alias, parent_alias, effective_entity): (source)

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

def _prep_for_joins(self, left_alias, subq_path): (source)

Undocumented

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

Undocumented

def _setup_outermost_orderby(self, q): (source)

Undocumented

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

Undocumented