摘要: 1. 聚合函数 MySQL聚合函数:max\min\sum\count\avg from django.db.models import Max, Min, Sum, Avg, Count res = models.Book.objects.aggregate(Max('price')) print 阅读全文
posted @ 2022-05-18 19:09 thrombus 阅读(154) 评论(0) 推荐(0)