Lesson 42 of 93
Introduction to Query & Projection Operators in MongoDB | Query & Projection Operators
Lessons93 lessons
- 1How to Install MongoDB Community Edition on Windows | Getting Started with MongoDB
- 2How to Connect to MongoDB Server Using Mongo Shell (mongosh) | Getting Started with MongoDB
- 3How to Start MongoDB Server Manually Using "mongod" Command | Getting Started with MongoDB
- 4How to Create, Switch, and Delete Databases in MongoDB | Getting Started with MongoDB
- 5What is a Collection in MongoDB: Create, List and Drop Collections | Getting Started with MongoDB
- 6What is a Document in MongoDB: Structure, BSON Format and Key Feature | Getting Started with MongoDB
- 7How to Insert Documents in MongoDB: insertOne() vs insertMany() | Getting Started with MongoDB
- 8How to Query Documents in MongoDB: find() vs findOne() | Getting Started with MongoDB
- 9How to Update Documents in MongoDB: updateOne() & updateMany() | Getting Started with MongoDB
- 10How to Delete Documents in MongoDB: deleteOne() vs deleteMany() | Getting Started with MongoDB
- 11Getting Started with MongoDB Compass: Setup, Connection & GUI Basics | Getting Started with MongoDB
- 12How to Use MongoDB Shell (mongosh): Variables, Functions & Mongo API | Getting Started with MongoDB
- 13Introduction to MongoDB Cursor: What They Are & Why We Need Them | Understanding Cursor in MongoDB
- 14How to Loop Over MongoDB Cursor Using next() and hasNext() Method | Understanding Cursor in MongoDB
- 15How to Loop Through Documents of a Cursor using forEach() Method | Understanding Cursor in MongoDB
- 16How to Convert a MongoDB Cursor into an Array: toArray() Method | Understanding Cursor in MongoDB
- 17MongoDB Projection: Include & Exclude Fields in find() Queries | Understanding Cursor in MongoDB
- 18How to Sort Query Results (Ascending, Descending & Multi-Field) | Understanding Cursor in MongoDB
- 19How to Implement Pagination in MongoDB Using skip() and limit() | Understanding Cursor in MongoDB
- 20Why MongoDB Uses BSON Instead of JSON (Data Types & Performance) | BSON Data Types
- 21Working with String, Boolean & Null Datatypes | BSON Data Types
- 22An Overview of MongoDB Number Types (Int32, Int64, Double & Decimal) | BSON Data Type
- 23MongoDB Integer Data Types (Int32 & Int64): How to Use NumberInt and NumberLong | BSON Data Types
- 24MongoDB Double vs Decimal Datatype: How to Store Floating Point Number as Decimal? | BSON Data Types
- 25Working with Embedded Documents: Storing & Managing Nested Data in BSON | BSON Data Types
- 26MongoDB Array Data Type: Storing & Managing Lists in BSON | BSON Data Types
- 27MongoDB ObjectId Deep Dive: Structure, Auto-Generation & Best Practices | BSON Data Types
- 28MongoDB Date & Timestamp Data Types: Storing Date & Time in MongoDB | BSON Data Types
- 29MongoDB Special BSON Types: Regex, Binary Data (BinData) & JavaScript Code | BSON Data Types
- 30MongoDB Extension for VS Code: Setup, Installation & Why You Should Use It | BSON Data Types
- 31What is Schema in MongoDB & Why Do You Need One? | Schema & Schema Validation
- 32How to Define a Schema When Creating a MongoDB Collection | Schema & Schema Validation
- 33Strict Schema Validation in MongoDB: How to Block Extra Fields | Schema & Schema Validation
- 34Defining Schema Validation for Embedded Documents in MongoDB | Schema & Schema Validation
- 35Defining Schema Validation Rules for Array Fields in MongoDB | Schema & Schema Validation
- 36How to Check Collection Metadata & Schema Validation Rules in MongoDB | Schema & Schema Validation
- 37How to Handle Schema Validation Errors in MongoDB (validationAction) | Schema & Schema Validation
- 38How to Set Validation Levels in MongoDB: strict vs moderate Rules | Schema & Schema Validation
- 39How to Add Custom Validation Rules in MongoDB Using Query Expressions | Schema & Schema Validation
- 40How to Import JSON Data into MongoDB Collection using mongoimport Tool | Schema & Schema Validation
- 41Define Schema for existing Hotels Collection & Import JSON Data | Schema & Schema Validation
- 42Introduction to Query & Projection Operators in MongoDB | Query & Projection Operators
- 43Comparison Operators ($eq, $ne, $in, $nin) in MongoDB - Part 1 | Query & Projection Operators
- 44Comparison Operators ($gt, $gte, $lt, $lte) in MongoDB - Part 2 | Query & Projection Operators
- 45Logical $and Operator in MongoDB - Part 1 | Query & Projection Operators
- 46Logical $or Operator in MongoDB - Part 2 | Query & Projection Operators
- 47Logical $nor Operator in MongoDB - Part 3 | Query & Projection Operators
- 48Logical $not Operator in MongoDB - Part 4 | Query & Projection Operators
- 49Element Query Operators ($type & $exists) in MongoDB | Query & Projection Operators
- 50Array Query Operators ($all & $size) in MongoDB - Part 1 | Query & Projection Operators
- 51Array Query Operators ($elemMatch) in MongoDB - Part 2 | Query & Projection Operators
- 52Evaluation Operator ($where & $expr) in MongoDB - Part 1 | Query & Projection Operators
- 53Evaluation Operator ($mod & $regex) in MongoDB - Part 2 | Query & Projection Operators
- 54Understanding Projection in MongoDB - Recap | Query & Projection Operators
- 55Projection Operators ($ & $elemMatch) in MongoDB - Part 1 | Query & Projection Operators
- 56Projection Operators ($slice) in MongoDB - Part 2 | Query & Projection Operators
- 57Introduction to Update Operators In MongoDB | Update Operators in MongoDB
- 58Field Update Operators ($set & $unset) in MongoDB | Update Operators in MongoDB
- 59Field Update Operators ($rename & $currentDate) in MongoDB | Update Operators in MongoDB
- 60Numeric Update Operators ($inc & $mul) in MongoDB | Update Operators in MongoDB
- 61Numeric Update Operators ($min & $max) in MongoDB | Update Operators in MongoDB
- 62Array Update Operators: Positional Operator ($) in MongoDB | Update Operators in MongoDB
- 63Array Update Operators: All Positional Operator ($[]) in MongoDB | Update Operators in MongoDB
- 64Array Update Operators: Filter Positional Operator ($[id]) in MongoDB | Update Operators in MongoDB
- 65Array Update Operators ($push & $addToSet) in MongoDB | Update Operators in MongoDB
- 66Array Update Operators ($pop, $pull & $pullAll) in MongoDB | Update Operators in MongoDB
- 67Update Operator Modifiers ($position, $sort & $slice) in MongoDB | Update Operators in MongoDB
- 68Write Operations in MongoDB: Section Introduction | Write Operation in MongoDB
- 69How Storage Engine Handles Write Operations in MongoDB | Write Operation in MongoDB
- 70What is "Write Concern" of a Write Operation in MongoDB | Write Operation in MongoDB
- 71The "journal" option of Write Concern in MongoDB | Write Operation in MongoDB
- 72The "write timeout" option of Write Concern in MongoDB | Write Operation in MongoDB
- 73Understanding Atomicity of a Write Operation | Write Operation in MongoDB
- 74What is "Ordered Insertion" in MongoDB | Write Operation in MongoDB
- 75What is Upsert Operation in MongoDB | Write Operation in MongoDB
- 76The $setOnInsert Update Operator in MongoDB | Write Operation in MongoDB
- 77How to Perform "Bulk Write" Operation in MongoDB (bulkWrite() Method) | Write Operation in MongoDB
- 78Delete Single Document with findOneAndDelete() Method | Write Operation in MongoDB
- 79Replace a Document with findOneAndReplace() Method | Write Operation in MongoDB
- 80Update Single Document with findOneAndUpdate() Method | Write Operation in MongoDB
- 81How to "Soft Delete" a Document in MongoDB | Write Operation in MongoDB
- 82Introduction to Data Modelling & Data Relationship in MongoDB | Data Modelling & Relationship
- 83Embedded Document vs Reference Approach for Relating Data Entities | Data Modelling & Relationship
- 84Child vs Parent Referencing in MongoDB | Data Modelling & Relationship
- 85The 1:1 Relation using Embedded Document Approach | Data Modelling & Relationship
- 86The 1:1 Relation using Referencing Approach | Data Modelling & Relationship
- 87The 1: Many Relation using Embedded Document Approach | Data Modelling & Relationship
- 88The 1: Many Relation using Child Referencing Approach | Data Modelling & Relationship
- 89The 1: Many Relation using Parent Referencing Approach | Data Modelling & Relationship
- 90The Many : Many Relation using Referencing Approach | Data Modelling & Relationship
- 91Query Related Documents having Child Referencing | Data Modelling & Relationship
- 92Query Related Documents having Parent Referencing | Data Modelling & Relationship
- 93Understanding Collection Scans & Query Performance | Indexing & Query Performance Optimization