Watch keynotes and sessions from MongoDB.live, our virtual developer conference.

Aggregation with two collections

Im having two models called user and user type i need to get the combined result of the user and user type by using the common user-id.

how to achieve this condition.

Can you leave document examples for each collection?
And, please, make an example of ‘combined result’ you want to achieve.