sqlalchemy.orm.query Query Example Code

Query is a class within the sqlalchemy.orm.query module of the SQLAlchemy project.

QueryContext is another callable from the sqlalchemy.orm.query package with code examples.

Example 1 from graphene-sqlalchemy

graphene-sqlalchemy (project documentation and PyPI package information) is a SQLAlchemy integration for Graphene, which makes it easier to build GraphQL-based APIs into Python web applications. The package allows you to subclass SQLAlchemy classes and build queries around them with custom code to match the backend queries with the GraphQL-based request queries. The project is provided as open source under the MIT license.

graphene-sqlalchemy / graphene_sqlalchemy / fields.py