How can I use ORDER BY descending in a SQLAlchemy query like the following?
descending
This query works, but returns them in ascending order:
One other thing you might do is:
.order_by("name desc")
This will result in: ORDER BY name desc. The disadvantage here is the explicit column name used in order by.