Skip to main content
pelatihan
.org
Learn. Practice. Grow.
Category
EN
Sign in
Sign up
Menu
MongoDB Curriculum: 2 Chapters, 18 Lessons — pelatihan.org
Home
/
Catalog
/
MongoDB
/
Curriculum
Curriculum
MongoDB Curriculum
Learn MongoDB online with 18 structured lessons, code examples, and 90 quiz questions.
18 lessons
2 chapters
90 questions
Summaries and key points are free to preview. Full lessons, code examples, and quizzes require a subscription.
01
MongoDB Tutorial
18 lessons
01
MongoDB HOME
This page is the entrance to the MongoDB tutorial on W3Schools. MongoDB is a document-based NoSQL database that stores data in JSON format similar to documents in a collection,…
02
MongoDB Get Started
This lesson explains the first step in using MongoDB: install a server, run it, and then connect to it via mongosh. Once connected, you can view the database list with the show…
03
MongoDB Query API
This lesson explains the MongoDB Query API, which is how to filter, select, and manipulate data through query documents. You're going to put together an object-like filter that…
04
MongoDB Create DB
This lesson shows you how to create a database in mongosh using the use command, then verify it with show dbs. The creation is lazy: new databases are stored and appear after…
05
MongoDB Collection
This lesson explains how to create a collection in mongosh, both explicitly with db.createCollection() and automatically when first inserting a document. Collections can be…
06
MongoDB Insert
This lesson discusses the insertion of documents in mongosh using insertOne() for one document and insertMany() for many documents at once. MongoDB automatically creates field…
07
MongoDB Find
This lesson discusses data search with find() in mongosh. The first argument is a filter that determines which documents are appropriate, while the second argument is a…
08
MongoDB Update
This lesson explains document updates using updateOne() and updateMany(). Updates typically use the $set operator to change a particular field without touching another field, and…
09
MongoDB Delete
This lesson discusses deleting documents with deleteOne() and deleteMany() in mongosh. deleteOne() only deletes the first one document that fits the filter, whereas deleteMany()…
10
MongoDB Query Operators
This lesson brings together MongoDB query operators to compile complex search criteria. Comparison operators like $eq, $gt, $gte, $lt, $lte, $ne, and $in compare field values,…
11
MongoDB Update Operators
This lesson introduces the MongoDB update operator that modifies a portion of a document without replacing it entirely. In addition to $set, there are $unset to delete fields,…
12
MongoDB Aggregations
This lesson introduces aggregation pipeline, the way MongoDB processes sequential data through multiple stages in a single command. Each stage is defined by operators such as…
13
MongoDB Indexing/Search
This lesson describes indexing as a way to speed up searches in MongoDB. Without an index, each query uses a collection scan that checks all documents; the index stores the data…
14
MongoDB Validation
This lesson discusses schema validation, a feature that limits the form of a document that can be entered into a collection. You can add validator options when createCollection()…
15
MongoDB Data API
This lesson explains the MongoDB Atlas Data API, which is how to run MongoDB operations through a standard HTTPS endpoint without opening a driver connection. You just send an…
16
MongoDB Drivers
This lesson introduces the MongoDB driver, a library that allows applications to talk to the database through their respective languages. There are drivers available for…
17
MongoDB Node.js Driver
This lesson shows how to connect Node.js applications to MongoDB using its official driver. You call new MongoClient(uri), then await client.connect() before using…
18
MongoDB Charts
This lesson discusses MongoDB Charts, a built-in tool for visualizing data directly from the MongoDB collection. You pick the data source, then you compile a chart like a bar,…