Unit 20Taming Document Stores: MongoDB

A document store (a NoSQL database) is a non-volatile collection of objects, often known as documents, with attributes. Many different implementations of document stores have been developed. In this unit, you’ll look closely at one of them—MongoDB—and take a quick peek at its chief competitor, CouchDB.[17]

MongoDB is a non-relational database. One MongoDB server can support several unrelated databases. A database consists of one or more collections of documents. All documents in a collection have unique identifiers.

A Python MongoDB client is implemented in the Python module pymongo as an instance of the class MongoClient. You can create a client with no parameters (works for a typical local server installation), ...

Get Data Science Essentials in Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.