MongoDB
MongoDB
different levels of data organization. Let's break them down with an analogy:
2. Collection → A Bookshelf
3. Document → A Book
Example:
{
"_id": 1,
"age": 20,
Visual Representation
Database (schoolDB)
Key Differences
Equivalent in
Concept Function
SQL
Databas
Database Stores multiple collections
e
Collectio
Table Stores multiple documents
n
Conclusion:
1. Clients 👨💻
2. MongoDB Server
3. Storage Engine 💾
1. Introduction to MongoDB
3. MongoDB Architecture
👉 _id – Unique identifier for the document (like a primary key in SQL).
👉 Key-Value Pairs – Data is stored as key-value pairs.
4. Features of MongoDB
7. Conclusion