class documentation
class ORMDMLState(AbstractORMCompileState): (source)
Known subclasses: sqlalchemy.orm.bulk_persistence.BulkORMInsert
, sqlalchemy.orm.bulk_persistence.BulkUDCompileState
Undocumented
Class Method | get |
Undocumented |
Class Method | get |
Undocumented |
Class Variable | is |
Undocumented |
Instance Variable | from |
Undocumented |
Instance Variable | select |
Undocumented |
Class Method | _get |
Undocumented |
Class Method | _get |
Undocumented |
Class Method | _get |
Undocumented |
Class Method | _return |
Undocumented |
Method | _setup |
establish ORM column handlers for an INSERT, UPDATE, or DELETE which uses explicit returning(). |
Inherited from AbstractORMCompileState
:
Class Method | create |
Create a context for a statement given a :class:`.Compiler`. |
Class Method | orm |
Undocumented |
Class Method | orm |
Undocumented |
Class Method | orm |
Undocumented |
Inherited from CompileState
(via AbstractORMCompileState
):
Class Method | get |
Undocumented |
Class Method | plugin |
Undocumented |
Method | __init__ |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Class Variable | plugins |
Undocumented |
Instance Variable | statement |
Undocumented |
Class Method | _get |
Undocumented |
Class Variable | _ambiguous |
Undocumented |
@classmethod
def _get_orm_crud_kv_pairs(cls, mapper, statement, kv_iterator, needs_to_be_cacheable): (source) ¶
def _get_orm_crud_kv_pairs(cls, mapper, statement, kv_iterator, needs_to_be_cacheable): (source) ¶
Undocumented
@classmethod
def _return_orm_returning(cls, session, statement, params, execution_options, bind_arguments, result): (source) ¶
def _return_orm_returning(cls, session, statement, params, execution_options, bind_arguments, result): (source) ¶
Undocumented
def _setup_orm_returning(self, compiler, orm_level_statement, dml_level_statement, use_supplemental_cols=True, dml_mapper=None):
(source)
¶
establish ORM column handlers for an INSERT, UPDATE, or DELETE which uses explicit returning(). called within compilation level create_for_statement. The _return_orm_returning() method then receives the Result after the statement was executed, and applies ORM loading to the state that we first established here.