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 ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé
Classe « Result »

Méthode sqlalchemy.Result.close

Signature de la méthode close

def close(self) -> 'None' 

Description

help(Result.close)

close this :class:`_engine.Result`.

The behavior of this method is implementation specific, and is
not implemented by default.    The method should generally end
the resources in use by the result object and also cause any
subsequent iteration or row fetching to raise
:class:`.ResourceClosedError`.

.. versionadded:: 1.4.27 - ``.close()`` was previously not generally
   available for all :class:`_engine.Result` classes, instead only
   being available on the :class:`_engine.CursorResult` returned for
   Core statement executions. As most other result objects, namely the
   ones used by the ORM, are proxying a :class:`_engine.CursorResult`
   in any case, this allows the underlying cursor result to be closed
   from the outside facade for the case when the ORM query is using
   the ``yield_per`` execution option where it does not immediately
   exhaust and autoclose the database cursor.



Vous êtes un professionnel et vous avez besoin d'une formation ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé