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 ? Programmation Python
Les fondamentaux
Voir le programme détaillé
Classe « Operators »

Méthode sqlalchemy.Operators.bool_op

Signature de la méthode bool_op

def bool_op(self, opstring: 'str', precedence: 'int' = 0, python_impl: 'Optional[Callable[..., Any]]' = None) -> 'Callable[[Any], Operators]' 

Description

help(Operators.bool_op)

Return a custom boolean operator.

This method is shorthand for calling
:meth:`.Operators.op` and passing the
:paramref:`.Operators.op.is_comparison`
flag with True.    A key advantage to using :meth:`.Operators.bool_op`
is that when using column constructs, the "boolean" nature of the
returned expression will be present for :pep:`484` purposes.

.. seealso::

    :meth:`.Operators.op`



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