TaleLin / lin-cms-flask

🎀A simple and practical CMS implememted by Flask
http://doc.cms.talelin.com/
Other
832 stars 216 forks source link

获取列表时,如获取books列表,如何进行按某个字段排序查询数据? #172

Closed sunchangpu closed 3 years ago

sunchangpu commented 3 years ago

image

sunlin92 commented 3 years ago

get方法没有集成排序功能,请使用flask-sqlalchemy的原生的方式进行查找并排序

sunchangpu commented 3 years ago

搞定