SQLAlchemy order by column name (not value)

前端 未结 0 717
执念已碎
执念已碎 2020-11-21 16:57

In SQLalchemy I understand you can order by a column\'s values, but how can you order by the name (or reference)?

For example

class Users(db.Model):
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题