-
-
Notifications
You must be signed in to change notification settings - Fork 898
Closed
Milestone
Description
SQLAlchemy is moving toward a new system, detailed here: https://docs.sqlalchemy.org/en/14/changelog/migration_20.html. Flask-SQLAlchemy should also move in that direction.
The main difference is that session.query(Model) is being replaced, essentially with, session.execute(select(Model)). The old Session.query() will still be around, but is moved to legacy essentially dropped from maintenance / feature improvement.
My suggestion is to add a Model.select() method that adheres to this new format. This should be pretty straightforward and possibly already in the works (I didn't see anything though).
There are likely other ways that FSA could start moving to SQLA 2.0, but the select method is probably a top priority.
mo8it, davetapley and born2discover
Metadata
Metadata
Assignees
Labels
No labels