ORM Model flaschengeist use is deprecated/legacy. #27

Open
opened 2023-03-02 11:53:27 +00:00 by crimsen · 1 comment
Owner

to execute Queries like User.query.all() is legacy. Maybe you get detached errors since SQLAlchemy 1.4.

Refactor all SQLAlchemy queries to db.session.execute(db.select(User)).all()

to execute Queries like ```User.query.all()``` is legacy. Maybe you get detached errors since SQLAlchemy 1.4. Refactor all SQLAlchemy queries to ```db.session.execute(db.select(User)).all()```
Author
Owner

No deprecation warnings since 47442fe211.
But legacy ORM is still in used.

No deprecation warnings since 47442fe21186dfbe37c89cb202fdb4e74bf9f64a. But legacy ORM is still in used.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Flaschengeist/flaschengeist#27
No description provided.