1
wenbinwu 2014 年 6 月 2 日 print A.objects.filter(b__f2 = 0).query
看一下SQL就明白了:) |
2
ericFork 2014 年 6 月 2 日 LS+1,workaround 是加上 .distinct()
|