0

I have two collections - orders, feedbacks

Both have a key reference_no which does the mapping between them. I need to something like sql join between these two collections.

Before mongo I was doing it in plain javascript using map after getting data from two collections individually. But this breaks when I have to apply filter on one table.

Is there any way I can do it using mongo?

mongo version on production: 3.0.7

possible solution : I add reference of orders -> _id to feedbacks, but its not possible to do it now.

nirvair
  • 4,001
  • 10
  • 51
  • 85

0 Answers0