阅读背景:

Django数据库优化:我应该在python中过滤和计数,还是使用Django的queryset.count()

来源:互联网 

I have a few views in Django where I query the database about 50 times. I am wondering if it is faster to query the database or to grab the items once and count myself in python.I have a few views in Django where I query the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: