Let's say we have two collections (user & data) and need to pull all the data for each user_id from users & data collection.
users
     {user_id: 1, username: tom, userage: 27}
     {user_id: 2, username: sam, userage: 25}
data
     {workexp: 4, skill: testing, user_id: 1}
     {workexp: 9, skill: devops, user_id: 2}
Please tell me how we can perform this in mongo.
 
    