Mongoose ODM provides a straight-forward, schema-based solution to model your application data. It includes built-in type casting, validation, query building, business logic hooks and more, out of the box. Mongoose is the Object Document Mapper (ODM) for Node.js and it is written on the top of the Node.js and native MongoDB driver. Mongoose ODM gives the ability to define a schema for their documents which can then be used to map documents to objects in their programming language. It makes you to type-caste & validate your object before saving your document to MongoDB
(more…)
