Switch DB code to use the new Select api #173
Labels
enhancement
update an existing command or cog for some new functionality
infra-only
due to access requirements (database stuff, usually), only infra can complete this
According to the docs, the
Query
API of SQLAlchemy has been effectively replaced by theSelect
API, and is now effectively only a compatibility layer.https://docs.sqlalchemy.org/en/20/orm/queryguide/query.html
As such, we should try to go through and move all our code to
Select
instead ofQuery
.I've tagged infra-only because this heavily involves the DB. However, I believe the vast majority of the changes don't actually need infra access - it will just need to be very thoroughly tested and have infra online at merge time in case something comes up.
The text was updated successfully, but these errors were encountered: