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

Méthode sqlalchemy.orm.Query.from_statement

Signature de la méthode from_statement

def from_statement(self, statement: 'ExecutableReturnsRows') -> 'Self' 

Description

help(Query.from_statement)

Execute the given SELECT statement and return results.

This method bypasses all internal statement compilation, and the
statement is executed without modification.

The statement is typically either a :func:`_expression.text`
or :func:`_expression.select` construct, and should return the set
of columns
appropriate to the entity class represented by this
:class:`_query.Query`.

.. seealso::

    :meth:`_sql.Select.from_statement` - v2 comparable method.



Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les fondamentaux
Voir le programme détaillé