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 « AttributeState »

Méthode sqlalchemy.orm.AttributeState.load_history

Signature de la méthode load_history

def load_history(self) -> 'History' 

Description

help(AttributeState.load_history)

Return the current **pre-flush** change history for
this attribute, via the :class:`.History` interface.

This method **will** emit loader callables if the value of the
attribute is unloaded.

.. note::

    The attribute history system tracks changes on a **per flush
    basis**. Each time the :class:`.Session` is flushed, the history
    of each attribute is reset to empty.   The :class:`.Session` by
    default autoflushes each time a :class:`_query.Query` is invoked.
    For
    options on how to control this, see :ref:`session_flushing`.

.. seealso::

    :attr:`.AttributeState.history`

    :func:`.attributes.get_history` - underlying function



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é