以下示例之间没有区别吗?
查询一:
objects.filter(a=b).exclude(c=d).filter(e=f).exclude(g=h).distinct()
查询 2:
objects.filter(a=b).filter(e=f).exclude(c=d).exclude(g=h).distinct()
以下示例之间没有区别吗?
查询一:
objects.filter(a=b).exclude(c=d).filter(e=f).exclude(g=h).distinct()
查询 2:
objects.filter(a=b).filter(e=f).exclude(c=d).exclude(g=h).distinct()