I know that mongo has no inner join,
But I need to filter the data of a collection by reference to its _id in another collection.
I need to display only the projects of a given user.
Out of the question restructure the base.
Collections:
users: {_id: ObjectId ("..."), name: "user", ...}
Projects: { _id: ObjectId ("...") , name: "project1", ...}
In short, I want to pass the user id and it bring me all his projects without changing the structure above. Is it possible?