__class_getitem__ |
Parameterizes a generic class. [extrait de __class_getitem__.__doc__] |
__enter__(self) -> 'Connection' |
|
__exit__(self, type_: 'Any', value: 'Any', traceback: 'Any') -> 'None' |
|
begin(self) -> 'RootTransaction' |
Begin a transaction prior to autobegin occurring. [extrait de begin.__doc__] |
begin_nested(self) -> 'NestedTransaction' |
Begin a nested transaction (i.e. SAVEPOINT) and return a transaction [extrait de begin_nested.__doc__] |
begin_twophase(self, xid: 'Optional[Any]' = None) -> 'TwoPhaseTransaction' |
Begin a two-phase or XA transaction and return a transaction [extrait de begin_twophase.__doc__] |
close(self) -> 'None' |
Close this :class:`_engine.Connection`. [extrait de close.__doc__] |
commit(self) -> 'None' |
Commit the transaction that is currently in progress. [extrait de commit.__doc__] |
commit_prepared(self, xid: 'Any', recover: 'bool' = False) -> 'None' |
|
detach(self) -> 'None' |
Detach the underlying DB-API connection from its connection pool. [extrait de detach.__doc__] |
exec_driver_sql(self, statement: 'str', parameters: 'Optional[_DBAPIAnyExecuteParams]' = None, execution_options: 'Optional[CoreExecuteOptionsParameter]' = None) -> 'CursorResult[Any]' |
Executes a string SQL statement on the DBAPI cursor directly, [extrait de exec_driver_sql.__doc__] |
execute(self, statement: 'Executable', parameters: 'Optional[_CoreAnyExecuteParams]' = None, *, execution_options: 'Optional[CoreExecuteOptionsParameter]' = None) -> 'CursorResult[Any]' |
Executes a SQL statement construct and returns a [extrait de execute.__doc__] |
execution_options(self, **opt: 'Any') -> 'Connection' |
Set non-SQL options for the connection which take effect [extrait de execution_options.__doc__] |
get_execution_options(self) -> '_ExecuteOptions' |
Get the non-SQL options which will take effect during execution. [extrait de get_execution_options.__doc__] |
get_isolation_level(self) -> 'IsolationLevel' |
Return the current **actual** isolation level that's present on [extrait de get_isolation_level.__doc__] |
get_nested_transaction(self) -> 'Optional[NestedTransaction]' |
Return the current nested transaction in progress, if any. [extrait de get_nested_transaction.__doc__] |
get_transaction(self) -> 'Optional[RootTransaction]' |
Return the current root transaction in progress, if any. [extrait de get_transaction.__doc__] |
in_nested_transaction(self) -> 'bool' |
Return True if a transaction is in progress. [extrait de in_nested_transaction.__doc__] |
in_transaction(self) -> 'bool' |
Return True if a transaction is in progress. [extrait de in_transaction.__doc__] |
invalidate(self, exception: 'Optional[BaseException]' = None) -> 'None' |
Invalidate the underlying DBAPI connection associated with [extrait de invalidate.__doc__] |
recover_twophase(self) -> 'List[Any]' |
|
rollback(self) -> 'None' |
Roll back the transaction that is currently in progress. [extrait de rollback.__doc__] |
rollback_prepared(self, xid: 'Any', recover: 'bool' = False) -> 'None' |
|
scalar(self, statement: 'Executable', parameters: 'Optional[_CoreSingleExecuteParams]' = None, *, execution_options: 'Optional[CoreExecuteOptionsParameter]' = None) -> 'Any' |
Executes a SQL statement construct and returns a scalar object. [extrait de scalar.__doc__] |
scalars(self, statement: 'Executable', parameters: 'Optional[_CoreAnyExecuteParams]' = None, *, execution_options: 'Optional[CoreExecuteOptionsParameter]' = None) -> 'ScalarResult[Any]' |
Executes and returns a scalar result set, which yields scalar values [extrait de scalars.__doc__] |
schema_for_object(self, obj: 'HasSchemaAttr') -> 'Optional[str]' |
Return the schema name for the given schema item taking into [extrait de schema_for_object.__doc__] |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :