On Thursday, March 1, 2018 at 9:31:26 PM UTC-5, Mike Bayer wrote:
not that I'm aware of. it's a matter of whichever is more convenient
> given the kind of expression that is applied with DESC (e.g. a more
> complex expression might look more natural enclosed in desc()).
>
I've had some
Greetings,
Are there any reasons (canonical, stylistic, etc.) that one would use
order_by(desc(Class.column))
vs
order_by(Class.column.desc())
?
Thanks!
-m
--
SQLAlchemy -
The Python SQL Toolkit and Object Relational Mapper
http://www.sqlalchemy.org/
To post example code, please