(一)查询
image = session.query(ImageData.image_type, count(‘*‘)).filter(ImageData.image_type.like(code)).group_by(ImageData.image_type).all()
SqlAlchemy 的使用
原文:https://www.cnblogs.com/owenqing/p/11204523.html