class documentation

Undocumented

Class default_insert_options Undocumented
Class Method create_for_statement Create a context for a statement given a :class:`.Compiler`.
Class Method orm_execute_statement Undocumented
Class Method orm_pre_session_exec Undocumented
Class Variable select_statement Undocumented
Instance Variable statement Undocumented
Class Method _resolved_keys_as_col_keys Undocumented
Method _setup_for_bulk_insert establish an INSERT statement within the context of bulk insert.
Method _setup_for_orm_insert Undocumented
Instance Variable _dict_parameters Undocumented

Inherited from ORMDMLState:

Class Method get_entity_description Undocumented
Class Method get_returning_column_descriptions Undocumented
Class Variable is_dml_returning Undocumented
Instance Variable from_statement_ctx Undocumented
Class Method _get_crud_kv_pairs Undocumented
Class Method _get_multi_crud_kv_pairs Undocumented
Class Method _get_orm_crud_kv_pairs Undocumented
Class Method _return_orm_returning Undocumented
Method _setup_orm_returning establish ORM column handlers for an INSERT, UPDATE, or DELETE which uses explicit returning().

Inherited from AbstractORMCompileState (via ORMDMLState):

Class Method orm_setup_cursor_result Undocumented

Inherited from InsertDMLState (via ORMDMLState, AbstractORMCompileState):

Method __init__ Undocumented
Class Variable include_table_with_column_exprs Undocumented
Instance Variable isinsert Undocumented
Method _process_multi_values Undocumented
Method _process_values Undocumented
Instance Variable _has_multi_parameters Undocumented
Instance Variable _multi_parameters Undocumented
Instance Variable _no_parameters Undocumented
Instance Variable _primary_table Undocumented
Instance Variable _supports_implicit_returning Undocumented
Property _insert_col_keys Undocumented

Inherited from DMLState (via ORMDMLState, AbstractORMCompileState, InsertDMLState):

Class Method get_plugin_class Undocumented
Class Variable isdelete Undocumented
Class Variable isupdate Undocumented
Property dml_table Undocumented
Method _cant_mix_formats_error Undocumented
Method _make_extra_froms Undocumented
Method _no_multi_values_supported Undocumented
Method _process_select_values Undocumented
Class Variable _ordered_values Undocumented
Class Variable _parameter_ordering Undocumented

Inherited from CompileState (via ORMDMLState, AbstractORMCompileState, InsertDMLState, DMLState):

Class Method plugin_for Undocumented
Class Variable __slots__ Undocumented
Class Variable plugins Undocumented
Class Method _get_plugin_class_for_plugin Undocumented
Class Variable _ambiguous_table_name_map Undocumented
@classmethod
def create_for_statement(cls, statement, compiler, **kw) -> BulkORMInsert: (source)

Create a context for a statement given a :class:`.Compiler`. This method is always invoked in the context of SQLCompiler.process(). For a Select object, this would be invoked from SQLCompiler.visit_select(). For the special FromStatement object used by Query to indicate "Query.from_statement()", this is called by FromStatement._compiler_dispatch() that would be called by SQLCompiler.process().

@classmethod
def orm_execute_statement(cls, session: Session, statement: dml.Insert, params: _CoreAnyExecuteParams, execution_options: OrmExecuteOptionsParameter, bind_arguments: _BindArguments, conn: Connection) -> _result.Result: (source)
@classmethod
def orm_pre_session_exec(cls, session, statement, params, execution_options, bind_arguments, is_pre_event): (source)
@classmethod
def _resolved_keys_as_col_keys(cls, mapper, resolved_value_dict): (source)

Undocumented

def _setup_for_bulk_insert(self, compiler): (source)

establish an INSERT statement within the context of bulk insert. This method will be within the "conn.execute()" call that is invoked by persistence._emit_insert_statement().

def _setup_for_orm_insert(self, compiler, mapper): (source)

Undocumented