摘要: 1.defer查询 该方法里面参数直接是数据库表的字段,不用加筛选参数 Entry.objects.defer("body", "t1").filter(rating=5).defer("headline") # 表示不查询body和t1字段, 不查询headline字段 可以和filter,exc 阅读全文
posted @ 2021-03-15 09:36 Roc_Atlantis 阅读(552) 评论(0) 推荐(0) 编辑