django: prefetch with only() is causing many queries

后端 未结 0 1952
灰色年华
灰色年华 2021-02-15 12:06

If i am using only() in prefetch then its causing lot of sql queries


queryset = SymbolList.objects.prefetch_related(
           Prefetch(\'stock_dai         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题