
Count可以
distinct这样说:
p = Project.objects.all().annotate(Count('informationunit__username', distinct=True))似乎没有记录在案,但你可以在Count的源代码中找到它。
欢迎分享,转载请注明来源:内存溢出

Count可以
distinct这样说:
p = Project.objects.all().annotate(Count('informationunit__username', distinct=True))似乎没有记录在案,但你可以在Count的源代码中找到它。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)