Introduction to MongoDB
3h 27mIntermediate2023-04-17
Authors

MongoDB
Developer Data Platform
Course details
MongoDB is a popular document model database for building performant, agile, and scalable applications. This course guides you through the foundational skills and knowledge you need to get started with MongoDB. Get an introduction to MongoDB Atlas, the developer data platform, and how to create and deploy an Atlas cluster. Discover how MongoDB structures data in documents similar to JSON objects, making it flexible and developer friendly. Learn how to connect to a MongoDB database and perform simple CRUD operations and other key tasks, such as aggregation, indexing, data modeling, transactions, and creating a search experience for the users of your app. By the end of this course, you’ll have the skills you need to start working with MongoDB.
Skills covered
MongoDBDatabase DevelopmentDatabase ManagementCert PrepOpen SourceSoftware Development
Concepts
Introduction
- Introduction to MongoDB Atlas
- Creating and deploying an Atlas cluster
- Getting started with MongoDB Atlas, the developer data platform review
MongoDB and the Document Model
- Introduction to MongoDB Atlas
- The MongoDB document model
- Managing databases, collections, and documents in Atlas Data Explorer
- Overview of MongoDB and the document model review
Connecting to a MongoDB Database
- Using MongoDB connection strings
- Connecting to a MongoDB Atlas cluster with the Shell
- Connecting to a MongoDB Atlas cluster with Compass
- Connecting to a MongoDB Atlas cluster from an application
- Troubleshooting MongoDB Atlas connection errors
- Connecting to your database review
MongoDB CRUD Operations - Insert and Find Documents
- Inserting documents in a MongoDB collection
- Finding documents in a MongoDB collection
- Finding documents by using comparison operators
- Querying on array elements in MongoDB
- Finding documents by using logical operators
- MongoDB CRUD operations - Insert and find documents review
MongoDB CRUD Operations - Replace and Delete Documents
- Replacing a document in MongoDB
- Updating MongoDB documents by using updateOne()
- Updating MongoDB documents by using findAndModify()
- Updating MongoDB documents by using updateMany()
- Deleting documents in MongoDB
- MongoDB CRUD operations - Replace and delete documents review
MongoDB CRUD Operations - Modifying Query Results
- Sorting and limiting query results in MongoDB
- Returning specific data from a query in MongoDB
- Counting documents in a MongoDB collection
- MongoDB CRUD operations - Modifying query results review
MongoDB Aggregation
- Introduction to MongoDB aggregation
- Using $match and $group stages in a MongoDB aggregation pipeline
- Using $sort and $limit stages in a MongoDB aggregation pipeline
- Using $project, $count, and $set stages in a MongoDB aggregation pipeline
- Using $out stage in a MongoDB aggregation pipeline
- MongoDB aggregation review
MongoDB Indexes
- Using MongoDB indexes in collections
- Creating a single field index in MongoDB
- Creating a multikey index in MongoDB
- Working with compound indexes in MongoDB
- Deleting MongoDB indexes
- Introduction to MongoDB data modeling review
MongoDB Atlas Search
- Using relevance-based search and search indexes
- Creating a search index with dynamic field mapping
- Creating a search index with static field mapping
- Using $search and compound operators
- Grouping search results by using facets
- MongoDB Atlas Search review
Introduction to MongoDB Data Modeling
- Introduction to data modeling
- Types of data relationships
- Modeling data relationships
- Embedding data in documents
- Referencing data in documents
- Scaling a data model
- Using Atlas tools for schema help
- Introduction to MongoDB data modeling review
MongoDB Transactions
- Introduction to ACID transactions
- ACID transactions in MongoDB
- Using transactions in MongoDB
- Transactions review
Conclusion
- Moving forward to take the MongoDB certification