• +91 9723535972
  • info@interviewmaterial.com

MongoDB Interview Questions and Answers

Question - How can MongoDB simulate subquery or join?

Answer -

We have to find the best method for structuring the data in MongoDB for simulating what would be the simple subquery or join in SQL. For example, we have users and posts, with the users in one collection and posts in another collection. We have to find all the posts by the users whose city is “Hyderabad”.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners