
Explore how MongoDB enables fast, scalable applications with a document-oriented model and a native data format close to JSON, supporting quick iteration, flexible schemas, and powerful CRUD and aggregation.
Explore the core MongoDB terms—database, collection, document, and index—and how they map to traditional databases. Recognize that documents have flexible schemas and that proper indexing ensures efficient data access.
Explore JavaScript object notation and the BSON data types used in MongoDB, including integers, floats, dates, arrays, and the underscore id as the default unique index.
Start the mongo db server and connect with the mongo console, then use javascript in the shell to inspect databases with show dbs and quit with exit or control c.
Explore the MongoDB shell with help and a quick demo of common commands like show dbs, use, show collections, db.collection operations, including insert and find, with pretty printing.
Insert documents into a collection and retrieve them with find, exploring single and batch inserts, ids, and basic query projections.
Learn to remove documents in MongoDB with collection.remove, control whether you delete a single or multiple matches, and compare removing items to dropping an entire collection.
Learn how to update documents in MongoDB 3 with the update command and the $set operator, and apply upsert and multi options, noting updates are atomic.
Learn how MongoDB's $inc increments existing fields or creates new ones, as shown with Joe's age and new siblings. Use upsert to insert a document when no match is found.
Learn how MongoDB 3 array operators modify arrays in place in the database, using $push and $each to add friends and $pull to remove them.
Explore the MongoDB $pop operator to remove array elements from the end or start, and use $unset to delete a field like the friend array from a document.
Explore querying and reading MongoDB using query selectors as a where clause to match documents in the pets collection and import sample data to practice using find.
Use the findOne command to return any document from a collection, revealing the document's structure and helping you work with MongoDB data in a dynamic schema.
Explore projections in MongoDB by using include or exclude field selectors to return a subset, improving performance; learn how IDs are handled and why you cannot mix inclusions and exclusions.
Explore query conditionals in MongoDB, using operators such as $lt, $lte, $gt, $gte, and $eq to filter by values, keys, or arrays, and combine for complex queries.
Master MongoDB query conditionals $in, $nin, and $or to filter pets by name or owner, combine multiple key conditions, and ensure correct bracket syntax.
Do you want to quickly build web applications without the hassles of SQL?
Are you tired of unscalable back ends and messing about with fixed schemas?
Building web applications quickly has never been easier, thanks to MongoDB. Its flexible schema and document-oriented nature make MongoDB the most developer-friendly database in existence, allowing you to quickly prototype an application and scale to huge numbers of users.
That's why MongoDB is the most popular NoSQL database in existence, used by the likes of Craigslist, eBay, Foursquare, and The New York Times.
In this course you'll get a practical intro to MongoDB. We'll use a fun learning approach with great examples. By following along you will quickly and effortlessly be up to speed with MongoDB and you'll become a more complete developer.