MongoDB Essential Training

MongoDB Essential Training

3h 50mBeginner2022-12-13

Authors

Naomi Pentrel

Naomi Pentrel

Developer Content Professional

Course details

MongoDB is a NoSQL document database with an expressive and intuitive query language. While MongoDB is easy to get started with, there is more to using MongoDB than storing and retrieving JSON documents. In this course, Naomi Pentrel teaches MongoDB essentials, covering CRUD operations, aggregation pipelines, and drivers as well as advanced database features and database administration topics. If you’re looking for the knowledge to run MongoDB effectively in production, how to perform advanced queries, and how to administer databases, join Naomi in this course.

Skills covered

MongoDBDatabase DevelopmentDatabase ManagementEssential TrainingOpen SourceSoftware Development

Concepts

Introduction

  • An introduction to MongoDB
  • Features of MongoDB

Install MongoDB

  • Self-hosted vs. managed MongoDB
  • Enterprise vs. Community
  • Install MongoDB on Mac
  • Install MongoDB on Windows
  • Install MongoDB on Linux

Set Up Your Database

  • Mongod
  • Replica set
  • Set up a replica set from the command line
  • Set up a replica set with config files
  • Import the sample data
  • Debug

Working with MongoDB

  • The document model
  • Namespaces, collections, documents
  • MongoDB Query Language
  • Indexes
  • Challenge - Indexes
  • Solution - Indexes

CRUD Operations

  • insertOne and insertMany
  • findOne and find
  • Comparison operators
  • Logical operators
  • Sort, skip, limit
  • updateOne and updateMany
  • Arrays
  • Transactions
  • $expr
  • Challenge - Create app
  • Solution - Create app

Aggregation Pipelines

  • An overview of stages
  • $group
  • $bucket
  • $unwind
  • $merge and $out
  • $function
  • $lookup
  • Performance
  • Challenge - Write aggregation pipelines
  • Solution - Write aggregation pipelines

Data Modeling

  • Relational vs. document
  • Data modeling
  • Flexible schema
  • Challenge - Create a data model
  • Solution - Create a data model

Drivers

  • Drivers
  • Connecting with Python
  • Connecting with JavaScript
  • Connecting with PHP

Conclusion

  • Advancing with MongoDB
80,000 Toman