pgjones / quart-db

Quart extension that provides managed connection(s) to postgresql database(s).
MIT License
29 stars 7 forks source link

quart-db vs sqlalchemy ? #24

Closed copdips closed 5 months ago

copdips commented 7 months ago

Hello,

Could you please provide some information about quart-db vs sqlalchemy ? Thanks

pgjones commented 5 months ago

Quart-DB is specifically designed to be used with Quart, it is a Quart extension that sets up DB connections and places a connection on the g object. SQLAlchemy can be used with Quart or anything else. You could use SQLAlchemy to reimplement Quart-DB if desired.

Beetroit commented 3 weeks ago

Does quart db work as an ORM, like provides add, commit etc?, the way sqlalchemy does.