What Is MongoDB?

View saved

Meet MongoDB

MongoDB is a document database. Instead of rigid tables and rows, you store JSON-like documents that can nest fields and arrays.

Why teams choose it

  • Flexible schemas that grow with the app
  • Natural fit for nested data (profiles, carts, configs)
  • Horizontal scaling options for large data
  • A rich query language and aggregation pipeline

Documents, not tables

A document is a set of field/value pairs. Related data often lives together in one document instead of many joined tables.

{
  "_id": ObjectId("..."),
  "name": "Ada",
  "skills": ["C", "Python"],
  "address": { "city": "Nairobi" }
}

What you will practice

This course covers install options, mongosh, CRUD, indexes, a first aggregation, schema tips, and a peek at drivers.

Comments

One comment per signed-in account. Comments are saved with this page’s URL.