Mongoose v3 Embedded Object without Explicit Subschema Delcaration

A quick code example of how to embed a subdocument/collection of objects in a Mongoose model without create a whole other explicit subdoc reference.

Avishaan Sethi

NodeJS, iOS, Swift, MeteorJS, D3, 3D printing, salsa dancing, programming, and being critical of apps. Constantly learning by doing, developing apps on apps on apps.

comments powered by Disqus