class MapperOption(ORMOption):
Method | process_query |
Apply a modification to the given _query.Query . |
Method | process_query_conditionally |
same as process_query(), except that this option may not apply to the given query. |
Class Variable | _is_legacy_option |
Undocumented |
Class Variable | propagate_to_loaders |
if True, indicate this option should be carried along to "secondary" Query objects produced during lazy loads or refresh operations. |
Inherited from ORMOption
:
Class Variable | __slots__ |
Undocumented |
Class Variable | _is_compile_state |
Undocumented |
Class Variable | _is_criteria_option |
Undocumented |
Class Variable | _is_strategy_option |
Undocumented |
Inherited from ExecutableOption
(via ORMOption
):
Method | _clone |
Create a shallow copy of this ExecutableOption. |
Class Variable | __visit_name__ |
Undocumented |
Class Variable | _is_has_cache_key |
Undocumented |
Inherited from HasCopyInternals
(via ORMOption
, ExecutableOption
):
Method | _copy_internals |
Reassign internal elements to be clones of themselves. |
same as process_query(), except that this option may not apply to the given query.
This is typically applied during a lazy load or scalar refresh operation to propagate options stated in the original Query to the new Query being used for the load. It occurs for those options that specify propagate_to_loaders=True.