O'Reilly logo

JavaScript Frameworks for Modern Web Dev by Nicholas Cloud, Tim Ambler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 11

image

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required