How to Unwind / populate an Array in Mongoose Aggregate Pipeline
I’m working with Mongoose and trying to unwind/populate the comments.attachments field within an aggregation pipeline. Here’s the relevant portion of my code:
I’m working with Mongoose and trying to unwind/populate the comments.attachments field within an aggregation pipeline. Here’s the relevant portion of my code: