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 ? Sensibilisation à
l'Intelligence Artificielle
Voir le programme détaillé
Classe « Connection »

Méthode sqlalchemy.Connection.commit

Signature de la méthode commit

def commit(self) -> 'None' 

Description

help(Connection.commit)

Commit the transaction that is currently in progress.

This method commits the current transaction if one has been started.
If no transaction was started, the method has no effect, assuming
the connection is in a non-invalidated state.

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.commit` 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.commit` 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 ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé