Mongodb – How to aggregate from multiple collections with multiple OR parameters
I try to convert a postgreSQL query (from the nextjs dashboard tutorial from vercel) to a mongodb query using aggregate and $lookup. I know how to aggregate multiple collections and filter for one parameter. And how to query one collection…