mongodb $lookup – suppress non-matching documents
I only want to see matching documents, i.e. only T3 in the example below. I can find the matching documents between lotterytickets (many documents) and lotterydrawing (only a few documents). How can I filter out the non-matching documents? Basically, I'd…