class MySQLExecutionContext_mariadbconnector(MySQLExecutionContext): (source)
Undocumented
Method | create |
Undocumented |
Method | create |
Undocumented |
Method | get |
return self.cursor.lastrowid, or equivalent, after an INSERT. |
Method | post |
Called after the execution of a compiled statement. |
Instance Variable | _lastrowid |
Undocumented |
Inherited from MySQLExecutionContext
:
Method | fire |
given a :class:`.Sequence`, invoke it and return the next int value |
Inherited from DefaultExecutionContext
(via MySQLExecutionContext
):
Method | create |
Return a new cursor generated from this ExecutionContext's connection. |
Method | get |
Return a dictionary of parameters applied to the current row. |
Method | get |
Undocumented |
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 | handle |
Receive a DBAPI exception which occurred upon execute, result fetch, etc. |
Method | lastrow |
Return True if the last INSERT or UPDATE row contained inlined or database-side defaults. |
Method | pre |
Called before an 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 MySQLExecutionContext
, DefaultExecutionContext
):
Method | get |
Return the DBAPI ``cursor.rowcount`` value, or in some cases an interpreted value. |
return self.cursor.lastrowid, or equivalent, after an INSERT. This may involve calling special cursor functions, issuing a new SELECT on the cursor (or a new one), or returning a stored value that was calculated within post_exec(). This function will only be called for dialects which support "implicit" primary key generation, keep preexecute_autoincrement_sequences set to False, and when no explicit id value was bound to the statement. The function is called once for an INSERT statement that would need to return the last inserted primary key for those dialects that make use of the lastrowid concept. In these cases, it is called directly after :meth:`.ExecutionContext.post_exec`.