October 2015
Intermediate to advanced
520 pages
12h 34m
English
CHAPTER 11
![]()
Mongoose
The human mind gets used to strangeness very quickly if [strangeness] does not exhibit interesting behavior.
—Dan Simmons
MongoDB is a popular cross-platform document database, often lumped into the “NoSQL” classification with other nonrelational data stores such as CouchDB, Cassandra, RavenDB, and so forth. It is a popular choice for data storage among Node.js developers because its “records” are stored as plain JSON objects, and its query interface and stored functions are written in plain JavaScript.
Storing, accessing, and manipulating data in MongoDB is not terribly complex, but Node.js libraries such as Mongoose can ...