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é
Module « sqlalchemy »

Fonction funcfilter - module sqlalchemy

Signature de la fonction funcfilter

def funcfilter(func: 'FunctionElement[_T]', *criterion: '_ColumnExpressionArgument[bool]') -> 'FunctionFilter[_T]' 

Description

help(sqlalchemy.funcfilter)

Produce a :class:`.FunctionFilter` object against a function.

Used against aggregate and window functions,
for database backends that support the "FILTER" clause.

E.g.::

    from sqlalchemy import funcfilter

    funcfilter(func.count(1), MyClass.name == "some name")

Would produce "COUNT(1) FILTER (WHERE myclass.name = 'some name')".

This function is also available from the :data:`~.expression.func`
construct itself via the :meth:`.FunctionElement.filter` method.

.. seealso::

    :ref:`tutorial_functions_within_group` - in the
    :ref:`unified_tutorial`

    :meth:`.FunctionElement.filter`



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é