Looking to include an array of objects into an existing collection. Trying out this code:
catModel.insertMany(jsonRow, function(err, videos) {
The catModel contains a property called modelName: "Yoga-videos-source". In MongoDB, there is a collection named "yoga-videos-source".
Issue: Instead of adding the array of objects to "yoga-videos-source", it is creating a new collection named "yoga-videos-sources" (with an extra 's' at the end).
Query: How can I resolve this? Why is this happening?