Search on multiple collections in MongoDB

前端 未结 7 1943
自闭症患者
自闭症患者 2020-12-01 01:28

I know the theory of MongoDB and the fact that is doesn\'t support joins, and that I should use embeded documents or denormalize as much as possible, but here goes:

相关标签:
7条回答
  • 2020-12-01 02:09

    Minime solution worked except that it required a fix: var query = createOR(keys(collection.getName())); need to add keyword as 2nd parameter to createOR call here.

    0 讨论(0)
提交回复
热议问题