private module containing functions used to convert database rows into object instances and associated state.
the functions here are called primarily by Query, Mapper, as well as some of the attribute loading strategies.
Class | PostLoad |
Track loaders and states for "post load" operations. |
Function | _decorate_polymorphic_switch |
Undocumented |
Function | _instance_processor |
Produce a mapper level row processor callable which processes rows into mapped instances. |
Function | _load_subclass_via_in |
Undocumented |
Function | _populate_full |
Undocumented |
Function | _populate_partial |
Undocumented |
Function | _set_get_options |
Undocumented |
Function | _setup_entity_query |
Undocumented |
Function | _validate_version_id |
Undocumented |
Function | _warn_for_runid_changed |
Undocumented |
Function | get_from_identity |
Look up the given key in the given session's identity map, check the object for expired state if found. |
Function | instances |
Return a .Result given an ORM query context. |
Function | load_on_ident |
Load the given identity key from the database. |
Function | load_on_pk_identity |
Load the given primary key identity from the database. |
Function | load_scalar_attributes |
initiate a column-based attribute refresh operation. |
Function | merge_frozen_result |
Merge a _engine.FrozenResult back into a _orm.Session , returning a new _engine.Result object with :term:`persistent` objects. |
Function | merge_result |
Merge a result into the given .Query object's Session. |
Variable | _new_runid |
Undocumented |
Undocumented
Undocumented
Undocumented
Undocumented
Undocumented
Return a .Result
given an ORM query context.
.Result
objects and has an all new interface.Parameters | |
cursor | a .CursorResult , generated by a statement
which came from .ORMCompileState |
context | a .QueryContext object |
Returns | |
a .Result object representing ORM results |
Merge a _engine.FrozenResult
back into a _orm.Session
,
returning a new _engine.Result
object with :term:`persistent`
objects.
See the section :ref:`do_orm_execute_re_executing` for an example.
Merge a result into the given .Query
object's Session.
See _orm.Query.merge_result
for top-level documentation on this
function.