June 2014
Intermediate to advanced
696 pages
38h 52m
English
Now that you understand the MongoDB Node.js native driver, it won’t be hard to make the jump to using Mongoose. Mongoose is an Object Document Model (ODM) library that provides additional functionality to the MongoDB Node.js native driver. For the most part, it is used to apply a structured schema to a MongoDB collection, which provides the benefits of validation and type casting.
Mongoose simplifies some of the complexities of making database calls by implementing builder objects that allow you to pipe additional commands into find, update, save, remove, aggregate, and other database operations. This can make it easier to implement your code.
This chapter discusses the mongoose module and ...
Read now
Unlock full access