MongoDB Introduction
MongoDB is a document database. Instead of tables and rows it stores flexible JSON like documents in collections. A document can have nested objects and arrays, and different documents in a collection may have different fields.
Example
{
"_id": ObjectId("..."),
"name": "Ada",
"skills": ["math", "code"],
"address": { "city": "Lagos" }
}Exercise
Data is stored as ___.
Data is stored as Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.