Mongoose query: model M property A equals to property B

后端 未结 0 552
长发绾君心
长发绾君心 2021-02-03 21:09

I would like to find all occurrences of model M, where M.a.b._id (is an array with subdocs b) == M.c._id

how can I depict it in a nodejs query?

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