MongoDB Aggregation Pipelines : Part 2
Introduction :
When the client asks for watch history we want to return an array of watchHistory which contains _id of the videos, and some information of the owner ( uploader ) of that video along with a status code and a custom message.
Need of Agg...
adityabverma.hashnode.dev4 min read