I’m trying to join two collections in mongodb to get all data from a collection and only the commun ones FROM the other collection any idea if it’s possible to do this in mongodb? if yes how to?
thanks in advance
Yes, you can join 2 collections with Aggregation Framework and
Here are the docs with syntax and examples, so you can check how to do it.