Suposse tou have the following collection with only 2 documents: If you run an aggregation query and use { $unwind: "$traits" } as the first stage, how many documents will be passed to the next stage of the aggregation pipeline?
Given a collection posts as shown below having a document array comments, which of the following command will create an index on the comment author descending?