Can I write an index for an $or query in mongodb?

前端 未结 0 1079
礼貌的吻别
礼貌的吻别 2021-01-20 01:43

I have two different but similar mongodb queries that I need to write an index for. Is this the correct way to do it?

First Query:

{
    $or: [
               


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