要用django的orm表达sql的exists子查询,是个比较麻烦的事情,需要做两部来完成 ... 使用annotate和filter共同定义子查询Post.objects.annotate( ...
確定! 回上一頁