I have written this query but it is not correct.
router.get("/product/:name", function(req, res){ Product.findById(req.params.name).populate("r