Skip to main content

Course

Introduction to MongoDB in Python

Intermediate3 hr

Learn to manipulate and analyze flexibly structured data with MongoDB.

Python3 hr10 videos32 Exercises2,600 XP24,118Statement of accomplishment

Create Your Free Account

Continue with Google
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Training a Team?

Try for Business

Course Description

Break free from rigid database structures and discover the power of MongoDB, the document database that adapts to your data. In this hands-on course, you'll master MongoDB operations through the PyMongo library. You'll query, filter, and manipulate documents and learn how to leverage MongoDB's flexible schema while also implementing validation when structure matters. From basic CRUD operations to advanced query operators, sorting, projections, and bulk operations, you'll gain practical skills to build and maintain modern data applications. This course equips you with the essential MongoDB skills that today's data professionals need.

Prerequisites

Curriculum

Course outline

1

Getting Started with MongoDB

A soft landing into the world of MongoDB and its key features as a NoSQL database. Learn how MongoDB compares to relational databases, and what it offers. Connect to a MongoDB server and database and retrieve your first documents.
Start Chapter
2

Filters, operators, and query options

Learn how to have MongoDB only return exactly what you need with filters and operators. Discover how to sort records, limit the number of documents returned, and retrieve the count of matching documents for specific queries.
Start Chapter
3

Inserting, Updating & Deleting Records

Explore the ability to insert entirely one or multiple new records into a MongoDB collection. Learn how to update individual or multiple documents simultaneously, and replace entire documents within a database. Get experience with deleting records from a collection.
Start Chapter
4

Enforcing Schema and Composing Multiple Operations

Learn how to use define and enforce structure in MongoDB documents when working with PyMongo. Explore using .bulk_write() to efficiently batch multiple write operations into a single request, improving performance while maintaining control over ordered execution and error handling.
Start Chapter

Introduction to MongoDB in Python

Course
Complete

Earn Statement of Accomplishment

Enroll Now

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.