Document added with mongoose not showing in mongodb compass
I have tried adding document using mongoose. The following code in productController.js, returns the following response.
Code:
I have tried adding document using mongoose. The following code in productController.js, returns the following response.
Code: