class documentation
class PGExecutionContext_asyncpg(PGExecutionContext): (source)
Undocumented
Method | create |
Undocumented |
Method | handle |
Receive a DBAPI exception which occurred upon execute, result fetch, etc. |
Method | pre |
Called before an execution of a compiled statement. |
Inherited from PGExecutionContext
:
Method | fire |
given a :class:`.Sequence`, invoke it and return the next int value |
Method | get |
Undocumented |
Inherited from DefaultExecutionContext
(via PGExecutionContext
):
Method | create |
Return a new cursor generated from this ExecutionContext's connection. |
Method | create |
Undocumented |
Method | get |
Return a dictionary of parameters applied to the current row. |
Method | get |
return self.cursor.lastrowid, or equivalent, after an INSERT. |
Method | get |
Return a sequence of OUT parameter values from a cursor. |
Method | get |
Return a 'result processor' for a given type as present in cursor.description. |
Method | get |
Undocumented |
Method | lastrow |
Return True if the last INSERT or UPDATE row contained inlined or database-side defaults. |
Method | post |
Called after the execution of a compiled statement. |
Method | supports |
Undocumented |
Method | supports |
Undocumented |
Instance Variable | cache |
Undocumented |
Instance Variable | compiled |
if passed to constructor, sqlalchemy.engine.base.Compiled object being executed |
Instance Variable | compiled |
Undocumented |
Instance Variable | current |
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 |
the style of DBAPI cursor method that will be used to execute a statement. |
Instance Variable | execution |
Undocumented |
Instance Variable | extracted |
Undocumented |
Instance Variable | invoked |
The Executable statement object that was given in the first place. |
Instance Variable | is |
Undocumented |
Instance Variable | is |
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 |
Undocumented |
Instance Variable | returned |
Undocumented |
Instance Variable | root |
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 |
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 |
Undocumented |
Property | inserted |
Undocumented |
Property | no |
True if the execution style does not use parameters |
Property | postfetch |
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 |
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 |
Initialize execution context for a Compiled construct. |
Class Method | _init |
Initialize execution context for an ExecutableDDLElement construct. |
Class Method | _init |
Initialize execution context for a ColumnDefault construct. |
Class Method | _init |
Initialize execution context for a string SQL statement. |
Method | _exec |
Undocumented |
Method | _exec |
Undocumented |
Method | _execute |
Execute a string statement on the current cursor, returning a scalar result. |
Method | _get |
Undocumented |
Method | _prepare |
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 |
Undocumented |
Method | _process |
Undocumented |
Method | _setup |
Undocumented |
Method | _setup |
Undocumented |
Method | _setup |
Undocumented |
Method | _setup |
Undocumented |
Method | _setup |
Undocumented |
Method | _setup |
Undocumented |
Method | _use |
Undocumented |
Class Variable | _empty |
Undocumented |
Class Variable | _has |
Undocumented |
Class Variable | _insertmanyvalues |
Undocumented |
Class Variable | _translate |
Undocumented |
Instance Variable | _dbapi |
Undocumented |
Instance Variable | _expanded |
used by set_input_sizes(). |
Instance Variable | _is |
Undocumented |
Instance Variable | _is |
Undocumented |
Instance Variable | _is |
Undocumented |
Instance Variable | _is |
Undocumented |
Instance Variable | _soft |
Undocumented |
Inherited from ExecutionContext
(via PGExecutionContext
, DefaultExecutionContext
):
Method | get |
Return the DBAPI ``cursor.rowcount`` value, or in some cases an interpreted value. |