Participer au site avec un Tip
Rechercher
 

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 :

Vous êtes un professionnel et vous avez besoin d'une formation ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé
Classe « Connection »

Méthode sqlalchemy.Connection.rollback

Signature de la méthode rollback

def rollback(self) -> 'None' 

Description

help(Connection.rollback)

Roll back the transaction that is currently in progress.

This method rolls back the current transaction if one has been started.
If no transaction was started, the method has no effect.  If a
transaction was started and the connection is in an invalidated state,
the transaction is cleared using this method.

A transaction is begun on a :class:`_engine.Connection` automatically
whenever a statement is first executed, or when the
:meth:`_engine.Connection.begin` method is called.

.. note:: The :meth:`_engine.Connection.rollback` method only acts
  upon the primary database transaction that is linked to the
  :class:`_engine.Connection` object.  It does not operate upon a
  SAVEPOINT that would have been invoked from the
  :meth:`_engine.Connection.begin_nested` method; for control of a
  SAVEPOINT, call :meth:`_engine.NestedTransaction.rollback` on the
  :class:`_engine.NestedTransaction` that is returned by the
  :meth:`_engine.Connection.begin_nested` method itself.




Vous êtes un professionnel et vous avez besoin d'une formation ? RAG (Retrieval-Augmented Generation)
et Fine Tuning d'un LLM
Voir le programme détaillé