I\'m curious as to the pros and cons of using subdocuments vs a deeper layer in my main schema:
var subDoc = new Schema({ name: String }); var mainDoc = n
There are some difference between the two:
Using nested schema is helpful for validation.
Nested schema can be reused in other schemas.