1
wenbinwu 2014-06-02 18:00:44 +08:00 1
print A.objects.filter(b__f2 = 0).query
看一下SQL就明白了:) |
2
ericFork 2014-06-02 19:20:13 +08:00 1
LS+1,workaround 是加上 .distinct()
|