Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sqlalchemy 2.0 style #11

Open
zhubx007 opened this issue Jul 28, 2022 · 0 comments
Open

Use sqlalchemy 2.0 style #11

zhubx007 opened this issue Jul 28, 2022 · 0 comments
Assignees
Labels
chore Refactor or changes that do not affect logic

Comments

@zhubx007
Copy link
Collaborator

zhubx007 commented Jul 28, 2022

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

Now, we use the sqlalchemy style v1.0 as "session.query().filter xxx". In style v2.0, we can use "select" to implement the query.

https://docs.sqlalchemy.org/en/14/glossary.html#term-2.0-style

@zhubx007 zhubx007 added the chore Refactor or changes that do not affect logic label Jul 28, 2022
@zhubx007 zhubx007 self-assigned this Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Refactor or changes that do not affect logic
Projects
Status: Todo
Development

No branches or pull requests

1 participant