Disclaimer: I have not used Mongoose yet, but in the comments you said that a mongodb query will also be helpful.
Based on the Mongoose schemas you have described, I mocked 10 documents for products and 3 for invoices using Mockeroo (https://mockaroo.com/). Note that the objectIds are…
Top comments (0)