MongoDB Tutorial
MongoDB is an open-source, document-oriented, and one of the most popular NoSQL database. NoSQL simply means a non-relational database i.e. there is no table-like relational database structure instead there is a totally different mechanism for storing and retrieving data. This format of storage is called BSON and is very much similar to JSON.
This tutorial aims at providing in-depth information about MongoDB with the help of a huge dataset containing basic commands like insert, update, delete to advance features like authentication, backup, and storage, connecting Django project with MongoDB, etc. So let’s get dive straight into the tutorial.
Introduction
- How do Document Databases Work?
- How MongoDB works?
- MongoDB : An introduction
- MongoDB: Getting Started
- What is MongoDB – Working and Features
- Difference between RDBMS and MongoDB
- MongoDB vs MySQL
Installation
- How to Install and Configure MongoDB in Ubuntu?
- How to install MongoDB on MacOS?
- How to install MongoDB on Windows?
Basics of MongoDB
- MongoDB – Database, Collection, and Document
- MongoDB Cursor
- DataTypes in MongoDB
- What is ObjectId in MongoDB
- What is a MongoDB Query?
- MongoDB | Create Database using MongoShell
- MongoDB | Delete Database using MongoShell
- MongoDB CRUD operations
MongoDB Methods
- MongoDB – Insert() Method
- MongoDB – insertOne() Method
- MongoDB – insertMany() Method
- MongoDB – Bulk.insert() Method
- MongoDB – bulkWrite() Method
- MongoDB – Update() Method
- MongoDB – updateOne() Method
- MongoDB – updateMany() Method
- MongoDB – Find() Method
- MongoDB – FindAndModify() Method
- MongoDB – FindOne() Method
- MongoDB – findOneAndDelete() Method
- MongoDB – findOneAndReplace() Method
- MongoDB – findOneAndUpdate() Method
- MongoDB – sort() Method
- MongoDB – copyTo() Method
- MongoDB – count() Method
- MongoDB – countDocuments() Method
- MongoDB – drop() Method
- MongoDB – Remove() Method
- MongoDB – deleteOne() Method
- MongoDB – Distinct() Method
- MongoDB – limit() Method
- MongoDB – skip() Method
- MongoDB – ObjectID() Function
- MongoDB – CreateIndex() Method
- MongoDB – CreateIndexes() Method
- MongoDB – getIndexes() Method
- MongoDB – dropIndex() Method
- MongoDB – dropIndexes() Method
MongoDB Operators
Comparison Operators
- MongoDB – Comparison Query Operators
- MongoDB $cmp Operator
- MongoDB – Greater than Operator $gt
- MongoDB – Less than Operator $lt
- MongoDB – Equality Operator $eq
- MongoDB – Less than equals to Operator $lte
- MongoDB – Greater than equals to Operator $gte
- MongoDB – Inequality Operator $ne
- MongoDB $in Operator
- MongoDB – $nin Operator
Logical Operators
- MongoDB – Logical Query Operators
- MongoDB AND operator ( $and )
- MongoDB OR operator ( $or )
- MongoDB NOT operator ( $not )
- MongoDB NOR operator ( $nor )
Arithmetic Operators
- MongoDB $add Operator
- MongoDB $subtract Operator
- MongoDB $multiply Operator
- MongoDB $divide Operator
- MongoDB $abs Operator
- MongoDB $floor Operator
- MongoDB $ceil Operator
- MongoDB $mod Operator
- MongoDB $sqrt Operator
- MongoDB $pow Operator
- MongoDB $exp Operator
- MongoDB $log Operator
- MongoDB $log10 Operator
- MongoDB $ln Operator
Field Update Operators
- MongoDB – Field Update Operators
- MongoDB – Maximum operator ( $max )
- MongoDB – Minimum operator ( $min )
- MongoDB – Increment Operator ( $inc )
- MongoDB – Multiply Operator ($mul)
- MongoDB – Rename Operator ($rename)
- MongoDB – Current Date Operator ($currentDate)
- MongoDB – SetOnInsert Operator ($setOnInsert)
- MongoDB Bitwise Update Operator
Array Expression Operators
- MongoDB $isArray Operator
- MongoDB $size Operator
- MongoDB $arrayElemAt Operator
- MongoDB $concatArrays Operator
- MongoDB $reverseArray Operator
Array Update Operators
- MongoDB – $pull Operator
- MongoDB – $pop Operator
- MongoDB – $pullAll Operator
- MongoDB – $push Operator
- MongoDB – Positional Operator ($)
- MongoDB – All Positional Operator ($[])
- MongoDB – $position Modifier
- MongoDB – $addToSet Operator
- MongoDB – $each Modifier
- MongoDB – $sort Modifier
- MongoDB – $slice Modifier
String Expression Operators
- MongoDB $concat Operator
- MongoDB $strcasecmp Operator
- MongoDB $toUpper Operator
- MongoDB $toLower Operator
- $substrCP (aggregation) operator in MongoDB
Working with Documents and Collections
- Defining, Creating, and Dropping a MongoDB collection
- Adding and Querying the data in MongoDB
- How to Create Database & Collection in MongoDB
- MongoDB – Query Documents using Mongo Shell
- MongoDB – Insert Single Document Using MongoShell
- MongoDB – Insert Multiple Document Using MongoShell
- MongoDB – Update Single Document Using MongoShell
- MongoDB – Update Multiple Documents Using MongoShell
- MongoDB – Replace Documents Using MongoShell
- MongoDB – Delete Single Document Using MongoShell
- MongoDB – Delete Multiple Documents Using MongoShell
- MongoDB – Check the existence of the fields in the specified collection
- Sorting Documents in MongoDB
- Capped Collections in MongoDB
- Create Relationship in MongoDB
- Search Text in MongoDB
- MongoDB – Map Reduce
- MongoDB – Upsert
Indexing in MongoDB
- Indexing in MongoDB
- MongoDB Index Types
- MongoDB – Compound Indexes
- MongoDB – Text Indexes
- MongoDB – Multikey Indexes
MongoDB Advance
- Export data from MongoDB
- Import data to MongoDB
- MongoDB – Regex
- MongoDB Projection
- MongoDB – Embedded Documents
- MongoDB – Query Embedded Documents Using Mongo Shell
- Aggregation in MongoDB
- How to Enable Authentication on MongoDB?
- Create user and add role in MongoDB
- MongoDB – Replication and Sharding
- MongoDB – Backup and Restoration
MongoDB Applications and Projects
- Nodejs – Connect MongoDB with Node app using MongooseJS
- Signup Form Using Nodejs and MongoDB
- Login form using Node.js and MongoDB
- Connect Django Project to MongoDB using Django
Please Login to comment...