class LoaderStrategy(object):
Known subclasses: sqlalchemy.orm.strategies.AbstractRelationshipLoader
, sqlalchemy.orm.strategies.ColumnLoader
, sqlalchemy.orm.strategies.DeferredColumnLoader
, sqlalchemy.orm.strategies.DoNothingLoader
, sqlalchemy.orm.strategies.UninstrumentedColumnLoader
Describe the loading behavior of a StrategizedProperty object.
The LoaderStrategy interacts with the querying process in three ways:
Method | __init__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | create_row_processor |
Establish row processing functions for a given QueryContext. |
Method | init_class_attribute |
Undocumented |
Method | setup_query |
Establish column and other state for a given QueryContext. |
Class Variable | __slots__ |
Undocumented |
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 |
sqlalchemy.orm.strategies.ColumnLoader
, sqlalchemy.orm.strategies.DeferredColumnLoader
, sqlalchemy.orm.strategies.ImmediateLoader
, sqlalchemy.orm.strategies.JoinedLoader
, sqlalchemy.orm.strategies.LazyLoader
, sqlalchemy.orm.strategies.NoLoader
, sqlalchemy.orm.strategies.SelectInLoader
, sqlalchemy.orm.strategies.SubqueryLoader
, sqlalchemy.orm.strategies.UninstrumentedColumnLoader
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.
sqlalchemy.orm.dynamic.DynaLoader
, sqlalchemy.orm.strategies.ColumnLoader
, sqlalchemy.orm.strategies.DeferredColumnLoader
, sqlalchemy.orm.strategies.ImmediateLoader
, sqlalchemy.orm.strategies.JoinedLoader
, sqlalchemy.orm.strategies.LazyLoader
, sqlalchemy.orm.strategies.NoLoader
, sqlalchemy.orm.strategies.SelectInLoader
, sqlalchemy.orm.strategies.SubqueryLoader
Undocumented
sqlalchemy.orm.strategies.ColumnLoader
, sqlalchemy.orm.strategies.DeferredColumnLoader
, sqlalchemy.orm.strategies.JoinedLoader
, sqlalchemy.orm.strategies.UninstrumentedColumnLoader
Establish column and other state for a given QueryContext.
This method fulfills the contract specified by MapperProperty.setup().
StrategizedProperty delegates its setup() method directly to this method.