会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Loading
你脱发吗
博客园
首页
新随笔
联系
订阅
管理
2022年5月18日
聚合查询、分组查询、F与Q查询、ORM查询优化、ORM常见字段、字段参数、事务操作、ORM执行原生SQL、多对多三种创建方式
摘要: 聚合查询 MySQL聚合函数:max\min\sum\count\avg ''' Max 最大值 Min 最下值 Sum 和 Avg 平局数 Count 计数 ''' # orm聚合查询: from django.db.models import Max, Min, Sum, Avg, Count
阅读全文
posted @ 2022-05-18 22:36 香菜根
阅读(55)
评论(0)
推荐(0)
编辑
公告