class documentation

Undocumented

Method create_server_side_cursor Undocumented

Inherited from PGExecutionContext:

Method fire_sequence given a :class:`.Sequence`, invoke it and return the next int value
Method get_insert_default Undocumented

Inherited from DefaultExecutionContext (via PGExecutionContext):

Method create_cursor Return a new cursor generated from this ExecutionContext's connection.
Method create_default_cursor Undocumented
Method get_current_parameters Return a dictionary of parameters applied to the current row.
Method get_lastrowid return self.cursor.lastrowid, or equivalent, after an INSERT.
Method get_out_parameter_values Return a sequence of OUT parameter values from a cursor.
Method get_result_processor Return a 'result processor' for a given type as present in cursor.description.
Method get_update_default Undocumented
Method handle_dbapi_exception Receive a DBAPI exception which occurred upon execute, result fetch, etc.
Method lastrow_has_defaults Return True if the last INSERT or UPDATE row contained inlined or database-side defaults.
Method post_exec Called after the execution of a compiled statement.
Method pre_exec Called before an execution of a compiled statement.
Method supports_sane_multi_rowcount Undocumented
Method supports_sane_rowcount Undocumented
Instance Variable cache_hit Undocumented
Instance Variable compiled if passed to constructor, sqlalchemy.engine.base.Compiled object being executed
Instance Variable compiled_parameters Undocumented
Instance Variable current_parameters A dictionary of parameters applied to the current row.
Instance Variable cursor DB-API cursor procured from the connection
Instance Variable dialect dialect which created this ExecutionContext.
Instance Variable execute_style the style of DBAPI cursor method that will be used to execute a statement.
Instance Variable execution_options Undocumented
Instance Variable extracted_parameters Undocumented
Instance Variable invoked_statement The Executable statement object that was given in the first place.
Instance Variable is_crud Undocumented
Instance Variable is_text Undocumented
Instance Variable isddl Undocumented
Instance Variable isdelete Undocumented
Instance Variable isinsert True if the statement is an INSERT.
Instance Variable isupdate True if the statement is an UPDATE.
Instance Variable parameters bind parameters passed to the execute() or exec_driver_sql() methods.
Instance Variable result_column_struct Undocumented
Instance Variable returned_default_rows Undocumented
Instance Variable root_connection Connection object which is the source of this ExecutionContext.
Instance Variable statement string version of the statement to be executed. Is either passed to the constructor, or must be created from the sql.Compiled object by the time pre_exec() has completed.
Instance Variable unicode_statement Undocumented
Property connection Connection object which can be freely used by default value generators to execute SQL. This Connection should reference the same underlying connection/transactional resources of root_connection.
Property engine engine which the Connection is associated with
Property executemany True if the context has a list of more than one parameter set.
Property identifier_preparer Undocumented
Property inserted_primary_key_rows Undocumented
Property no_parameters True if the execution style does not use parameters
Property postfetch_cols a list of Column objects for which a server-side default or inline SQL expression value was fired off. Applies to inserts and updates.
Property prefetch_cols a list of Column objects for which a client-side default was fired off. Applies to inserts and updates.
Property rowcount Undocumented
Class Method _init_compiled Initialize execution context for a Compiled construct.
Class Method _init_ddl Initialize execution context for an ExecutableDDLElement construct.
Class Method _init_default Initialize execution context for a ColumnDefault construct.
Class Method _init_statement Initialize execution context for a string SQL statement.
Method _exec_default Undocumented
Method _exec_default_clause_element Undocumented
Method _execute_scalar Execute a string statement on the current cursor, returning a scalar result.
Method _get_cache_stats Undocumented
Method _prepare_set_input_sizes Given a cursor and ClauseParameters, prepare arguments in order to call the appropriate style of ``setinputsizes()`` on the cursor, using DB-API types from the bind parameter's ``TypeEngine`` objects.
Method _process_executemany_defaults Undocumented
Method _process_executesingle_defaults Undocumented
Method _setup_dml_or_text_result Undocumented
Method _setup_ins_pk_from_empty Undocumented
Method _setup_ins_pk_from_implicit_returning Undocumented
Method _setup_ins_pk_from_lastrowid Undocumented
Method _setup_out_parameters Undocumented
Method _setup_result_proxy Undocumented
Method _use_server_side_cursor Undocumented
Class Variable _empty_dict_params Undocumented
Class Variable _has_rowcount Undocumented
Class Variable _insertmanyvalues_rows Undocumented
Class Variable _translate_colname Undocumented
Instance Variable _dbapi_connection Undocumented
Instance Variable _expanded_parameters used by set_input_sizes().
Instance Variable _is_explicit_returning Undocumented
Instance Variable _is_implicit_returning Undocumented
Instance Variable _is_server_side Undocumented
Instance Variable _is_supplemental_returning Undocumented
Instance Variable _soft_closed Undocumented

Inherited from ExecutionContext (via PGExecutionContext, DefaultExecutionContext):

Method get_rowcount Return the DBAPI ``cursor.rowcount`` value, or in some cases an interpreted value.