考虑以下代码:questions = Question.objects.only('id', 'pqa_id', 'retain')del_questions = questions.filter(retain=False)# Some computations on del_questionsdel_questions.delete()add_questions = questions.filter(pqa_id=None)将add_questions不包含问题retain=False?即questions当我们delete()在其子集上运行时是否重新评估对象del_questions?
添加回答
举报
0/150
提交
取消