[Solution found!] 关于计数的文档说,对于group_by查询,最好使用func.count(): from sqlalchemy import func session.query(Table.column, ...
確定! 回上一頁