Content-Length: 349816 | pFad | http://github.com/encode/databases/discussions/433

ad using sqlalchemy class models to generate queries · encode databases · Discussion #433 · GitHub
Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
Discussion options

You must be logged in to vote

Hey, I think with SQLAlchemy 1.4 this should work:

from sqlalchemy import select

query = select(User).where(User.name == 'spongebob')
await database.execute(query)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nbraun-wolf
Comment options

Answer selected by nbraun-wolf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/encode/databases/discussions/433

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy