Use 'type' as a Property Name in a Mongoose Doc

The syntax is a little different since 'type' already has a meaning in a Mongoose schema.

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