摘要: 之前的写法: 1 Table.query.filter().order_by(" xxx desc ").all() 改成如下,加个 text(),问题解决 1 from sqlalchemy.sql import text 2 3 4 Table.query.filter().order_by(t 阅读全文
posted @ 2020-05-12 22:23 菜小鱼~ 阅读(995) 评论(0) 推荐(0) 编辑