July 2017
Beginner to intermediate
312 pages
7h 27m
English
MongoDB can be used directly from the shell command or through programming languages. For the sake of our book we'll explain how it works using Python. MongoDB is accessed using Python through a driver module named PyMongo.
PyMongo can be installed using the following command:
pip install pymongo
Then the following command imports it in the Python script
from pymongo import MongoClient
client = MongoClient('localhost:27017')
The database structure of MongoDB is similar to SQL languages, ...
Read now
Unlock full access