class PGExecutionContext_psycopg2(PGExecutionContext):
Undocumented
Method | _log_notices |
Undocumented |
Method | create_server_side_cursor |
Undocumented |
Method | post_exec |
Called after the execution of a compiled statement. |
Class Variable | _psycopg2_fetched_rows |
Undocumented |
Instance Variable | cursor_fetch_strategy |
Undocumented |
Inherited from PGExecutionContext
:
Method | fire_sequence |
Undocumented |
Method | get_insert_default |
Undocumented |
Method | should_autocommit_text |
Parse the given textual statement and return True if it refers to a "committable" statement |
Inherited from DefaultExecutionContext
(via PGExecutionContext
):
Method | create_cursor |
Return a new cursor generated from this ExecutionContext's connection. |
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 | 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 | pre_exec |
Called before an execution of a compiled statement. |
Instance Variable | current_parameters |
A dictionary of parameters applied to the current row. |
Class Method | _init_compiled |
Initialize execution context for a Compiled construct. |
Class Method | _init_ddl |
Initialize execution context for a DDLElement 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 | _process_executemany_defaults |
Undocumented |
Method | _process_executesingle_defaults |
Undocumented |
Method | _set_input_sizes |
Given a cursor and ClauseParameters, call the appropriate style of setinputsizes() on the cursor, using DB-API types from the bind parameter's TypeEngine objects. |
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 |
Method | create_default_cursor |
Undocumented |
Method | get_update_default |
Undocumented |
Method | supports_sane_multi_rowcount |
Undocumented |
Method | supports_sane_rowcount |
Undocumented |
Class Variable | _translate_colname |
Undocumented |
Class Variable | cache_stats |
Undocumented |
Class Variable | exclude_set_input_sizes |
Undocumented |
Class Variable | include_set_input_sizes |
Undocumented |
Instance Variable | _dbapi_connection |
Undocumented |
Instance Variable | _expanded_parameters |
Undocumented |
Instance Variable | _is_explicit_returning |
Undocumented |
Instance Variable | _is_future_result |
Undocumented |
Instance Variable | _is_implicit_returning |
Undocumented |
Instance Variable | _is_server_side |
Undocumented |
Instance Variable | _soft_closed |
Undocumented |
Instance Variable | cache_hit |
Undocumented |
Instance Variable | compiled |
Undocumented |
Instance Variable | compiled_parameters |
Undocumented |
Instance Variable | cursor |
Undocumented |
Instance Variable | dialect |
Undocumented |
Instance Variable | executemany |
Undocumented |
Instance Variable | execution_options |
Undocumented |
Instance Variable | extracted_parameters |
Undocumented |
Instance Variable | invoked_statement |
Undocumented |
Instance Variable | is_crud |
Undocumented |
Instance Variable | is_text |
Undocumented |
Instance Variable | isddl |
Undocumented |
Instance Variable | isdelete |
Undocumented |
Instance Variable | isinsert |
Undocumented |
Instance Variable | isupdate |
Undocumented |
Instance Variable | parameters |
Undocumented |
Instance Variable | result_column_struct |
Undocumented |
Instance Variable | returned_default_rows |
Undocumented |
Instance Variable | root_connection |
Undocumented |
Instance Variable | statement |
Undocumented |
Instance Variable | unicode_statement |
Undocumented |
Property | connection |
Undocumented |
Property | engine |
Undocumented |
Property | identifier_preparer |
Undocumented |
Property | inserted_primary_key_rows |
Undocumented |
Property | no_parameters |
Undocumented |
Property | postfetch_cols |
Undocumented |
Property | prefetch_cols |
Undocumented |
Property | returning_cols |
Undocumented |
Property | rowcount |
Undocumented |
Property | should_autocommit |
Undocumented |
Inherited from ExecutionContext
(via PGExecutionContext
, DefaultExecutionContext
):
Method | get_result_cursor_strategy |
Return a result cursor strategy for a given result object. |
Method | get_rowcount |
Return the DBAPI cursor.rowcount value, or in some cases an interpreted value. |