会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Loading
WONDERING
everything in the world~
联系
订阅
管理
2024年6月28日
django | 常见 SQL 及其对应的 ORM 写法
摘要: 1. 子查询用 count 作为返回值 期望的 SQL 类似于: select (select count(*) from child where child.pid = parent.id) as auth_exists from parent 写法: subquery = Subquery(Ch
阅读全文
posted @ 2024-06-28 23:35 kingron
阅读(10)
评论(0)
推荐(0)
编辑
公告