|
|
|
|
|
|
|
|
|
|
|
|
|
_execute_scalar(self,
stmt,
type_)
Execute a string statement on the current cursor, returning a scalar
result. |
|
|
|
should_autocommit_text(self,
statement)
Parse the given textual statement and return True if it refers to a
"committable" statement |
|
|
|
create_cursor(self)
Return a new cursor generated from this ExecutionContext's
connection. |
|
|
|
pre_exec(self)
Called before an execution of a compiled statement. |
|
|
|
post_exec(self)
Called after the execution of a compiled statement. |
|
|
|
get_result_processor(self,
type_,
colname,
coltype)
Return a 'result processor' for a given type as present in
cursor.description. |
|
|
|
get_lastrowid(self)
return self.cursor.lastrowid, or equivalent, after an INSERT. |
|
|
|
|
|
|
|
supports_sane_rowcount(self) |
|
|
|
supports_sane_multi_rowcount(self) |
|
|
|
_setup_crud_result_proxy(self) |
|
|
|
_setup_ins_pk_from_lastrowid(self) |
|
|
|
_setup_ins_pk_from_empty(self) |
|
|
|
_setup_ins_pk_from_implicit_returning(self,
row) |
|
|
|
lastrow_has_defaults(self)
Return True if the last INSERT or UPDATE row contained inlined or
database-side defaults. |
|
|
|
set_input_sizes(self,
translate=None,
exclude_types=None)
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. |
|
|
|
_exec_default(self,
default,
type_) |
|
|
|
get_insert_default(self,
column) |
|
|
|
get_update_default(self,
column) |
|
|
|
_process_executemany_defaults(self) |
|
|
|
_process_executesingle_defaults(self) |
|
|
Inherited from interfaces.ExecutionContext :
get_rowcount ,
result
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
_init_ddl(cls,
dialect,
connection,
dbapi_connection,
compiled_ddl)
Initialize execution context for a DDLElement construct. |
|
|
|
_init_compiled(cls,
dialect,
connection,
dbapi_connection,
compiled,
parameters)
Initialize execution context for a Compiled construct. |
|
|
|
_init_statement(cls,
dialect,
connection,
dbapi_connection,
statement,
parameters)
Initialize execution context for a string SQL statement. |
|
|
|
_init_default(cls,
dialect,
connection,
dbapi_connection)
Initialize execution context for a ColumnDefault construct. |
|
|