MongoDB .NET Driver – Use $in in the match stage
I have two collections one is for posts (PostInfo) and one for users (UserInfo), I join two collections and I want to find the posts if the given userid is in AsUser.Friends : var docs = await _dbContext.PostInfos.Aggregate() .Lookup("UserInfo", "UserId",…