Using group with project while lookup to another collections on Express.js and mongoDB
Collections structure : - component_list - component_sold - registered_buyer Code : // line 1 pake db.collection.aggregate juga bisa, optional aja CollectionModel.aggregate( { $lookup: { from: "component_list", localField: "component_id",...