Course

Get Started with MongoDB

Learn MongoDB setup with Docker, manage collections, documents, queries, data manipulation, and bulk operations. Essential for modern app development.

This course provides a practical introduction to MongoDB, a leading NoSQL document database. You will learn how to set up a local MongoDB environment using Docker and then dive into essential database operations. By the end of this course, you will know how to:

  • Create and manage MongoDB collections.
  • Insert, filter, update, and delete documents.
  • Perform complex queries using logical operators and expressions.
  • Manipulate data within arrays and nested fields.
  • Rename fields and manage date and time properties.
  • Execute multiple operations efficiently using bulk operations.

Effectively manage and interact with MongoDB databases. Being proficient with databases is a crucial skill in modern app development.

Lessons
19

Lessons

  1. 01Install Docker to run local MongoDB Container
  2. 02Access Mongo databases from MongoDB Compass
  3. 03Create or Remove MongoDB Collection
  4. 04Inserting Documents into MongoDB Collections (insertOne, insertMany)
  5. 05Filtering Documents in MongoDB Collections (find, findOne)
  6. 06Combine Filtering Documents in MongoDB Collections ($and, $or, $in, $eq, etc)
  7. 07Filtering Documents using Expressions in MongoDB Collections ($expr, $size, $in, $and, etc)
  8. 08Find Document by id in MongoDB Collections
  9. 09Count documents satisfying a query in MongoDB Collection (countDocuments, $regex, $in)
  10. 10Return a subset of properties of a MongoDB Document (projections, $slice)
  11. 11Perform simple operations on resultset using Mongosh Cursor
  12. 12Update Mongo Documents using updateOne, updateMany, $set and $unset operations
  13. 13Update Mongo Documents arrays using $push, $pull and $each operations
  14. 14Rename fields in MongoDB Documents
  15. 15Create or Modify Datetime properties using $currentDate in MongoDB
  16. 16Replace Documents in MongoDB Collections using replaceOne
  17. 17Upsert Documents in MongoDB Collections using updateOne and replaceOne
  18. 18Delete Documents in MongoDB Collections using deleteOne and deleteMany
  19. 19Perform Multiple Operations using Bulk in MongoDB