Tag: subdocument

49 votes
6 answers
2.5K views
Stop Mongoose from creating _id property for sub-document array items

If you have subdocument arrays, Mongoose automatically creates ids for each one. Example: { _id: "mainId"

avatar
Corrin
0 1 0 9
asked 07 September, 2021