MongoDB Tutorials
A full MongoDB course: documents, CRUD, indexes, aggregation basics, and driver peeks.
This course includes 15 lessons grouped from first steps to more capable workflows. Work through a group in order, or jump to the task you need today. Every lesson includes explanations, copyable examples, and tips written for beginners.
Cheatsheet · Search this course · IT & cloud category · All categories
Getting started
Topic page- What Is MongoDB?Learn what MongoDB is and when a document database is a good fit.
- Install MongoDB or AtlasChoose a local MongoDB Community install or a free MongoDB Atlas cluster.
- Using mongoshOpen the MongoDB shell, run helpers, and explore databases interactively.
- Document BasicsRead BSON documents, ObjectIds, and nested fields with confidence.
- Databases and CollectionsOrganize data into databases and collections, MongoDB's main containers.
CRUD
Topic page- Inserting DocumentsAdd one or many documents with insertOne and insertMany.
- Finding and QueryingUse find, equality filters, and comparison operators to read documents.
- Projection, Sort, and LimitShape result sets with field projection, sorting, and pagination helpers.
- Updating DocumentsChange fields with updateOne, updateMany, and common update operators.
- Deleting DocumentsRemove documents safely with deleteOne and deleteMany.