sqlalchemy 简单的case_when统计

需求; 统计不同组织下的成绩风险等级类型个数; attacker_group = ( db.session.query(ReportResult, Report, Organization) .join(Report, Report.id == ReportResult.report_id) .jo
posted @ 2024-06-28 15:49  干炸小黄鱼  阅读(1)  评论(0编辑  收藏  举报