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

Méthode sqlalchemy.Update.ordered_values

Signature de la méthode ordered_values

def ordered_values(self, *args: 'Tuple[_DMLColumnArgument, Any]') -> 'Self' 

Description

help(Update.ordered_values)

Specify the VALUES clause of this UPDATE statement with an explicit
parameter ordering that will be maintained in the SET clause of the
resulting UPDATE statement.

E.g.::

    stmt = table.update().ordered_values(("name", "ed"), ("ident", "foo"))

.. seealso::

   :ref:`tutorial_parameter_ordered_updates` - full example of the
   :meth:`_expression.Update.ordered_values` method.

.. versionchanged:: 1.4 The :meth:`_expression.Update.ordered_values`
   method
   supersedes the
   :paramref:`_expression.update.preserve_parameter_order`
   parameter, which will be removed in SQLAlchemy 2.0.



Vous êtes un professionnel et vous avez besoin d'une formation ? Sensibilisation à
l'Intelligence Artificielle
Voir le programme détaillé