Consider the following posts collection in MongoDB, { "_id" : 1, "post_title" : "this is post title", "tags": [ "social", "friends", "books"], // rest of the document } What will be the output of following query: db.posts.aggregate( [ { $unwind : "$tags" } ] )
Correct Answer: Return three separate documents for three separate tags
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More MongoDB MCQ Questions