0 votes
in MongoDB by
How can MongoDB simulate subquery or join?

1 Answer

0 votes
by
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”.

Related questions

0 votes
asked Jan 7, 2023 in MongoDB by sharadyadav1986
0 votes
asked Jan 7, 2023 in MongoDB by sharadyadav1986
...