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 ? Coder avec une
Intelligence Artificielle
Voir le programme détaillé
Classe « TypeDecorator »

Méthode sqlalchemy.TypeDecorator.result_processor

Signature de la méthode result_processor

def result_processor(self, dialect: 'Dialect', coltype: 'Any') -> 'Optional[_ResultProcessorType[_T]]' 

Description

help(TypeDecorator.result_processor)

Provide a result value processing function for the given
:class:`.Dialect`.

This is the method that fulfills the :class:`.TypeEngine`
contract for bound value conversion which normally occurs via
the :meth:`_types.TypeEngine.result_processor` method.

.. note::

    User-defined subclasses of :class:`_types.TypeDecorator` should
    **not** implement this method, and should instead implement
    :meth:`_types.TypeDecorator.process_result_value` so that the
    "inner" processing provided by the implementing type is maintained.

:param dialect: Dialect instance in use.
:param coltype: A SQLAlchemy data type



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é