ЁЯУЪ

Complete MongoDB Course in Hindi by Vinod Bahadur Thapa

Jul 21, 2024

рд╡рд┐рдиреЛрдж рдмрд╣рд╛рджреБрд░ рдерд╛рдкрд╛ - Complete MongoDB Course in Hindi

Introduction

  • рд╕реНрд╡рд╛рдЧрдд рд╣реИ рдореИрдВрдЧреЛ рдбреАрдмреА рдХреЗ рдХреЛрд░реНрд╕ рдореЗрдВ рдЬреЛ рдХрд┐ рд╕рдмрд╕реЗ рдмреЗрд╣рддрд░реАрди рдХреЛрд░реНрд╕ рд╣реЛрдиреЗ рдЬрд╛ рд░рд╣рд╛ рд╣реИ
  • рдпрд╣ рд╕рддреНрд░ MongoDB рдХрд╛ рд╕рдВрдкреВрд░реНрдг рдкрд░рд┐рдЪрдп рджреЗрдЧрд╛ рдФрд░ рдЖрдкрдХреЛ рдЗрд╕рдХреА рд╡рд┐рднрд┐рдиреНрди рд╡рд┐рд╢реЗрд╖рддрд╛рдУрдВ рдХреЗ рдмрд╛рд░реЗ рдореЗрдВ рд╕рд┐рдЦрд╛рдПрдЧрд╛
  • рдХреЛрд░реНрд╕ рдХреЛ рддреАрди рднрд╛рдЧреЛрдВ рдореЗрдВ рдмрд╛рдВрдЯрд╛ рдЧрдпрд╛ рд╣реИ: рдмреЗрд╕рд┐рдХ, рдПрдбрд╡рд╛рдВрд╕, рдФрд░ рдкреНрд░реЛрдЬреЗрдХреНрдЯ

Basic Topics

Introduction to MongoDB

  • MongoDB рдПрдХ рдУрдкрди-рд╕реЛрд░реНрд╕, рдбреЙрдХреНрдпреВрдореЗрдВрдЯ-рдУрд░рд┐рдПрдВрдЯреЗрдб, NoSQL рдбреЗрдЯрд╛рдмреЗрд╕ рдореИрдиреЗрдЬрдореЗрдВрдЯ рд╕рд┐рд╕реНрдЯрдо рд╣реИ
  • Document-Oriented NoSQL рдХрд╛ рдорддрд▓рдм рд╣реИ рдпрд╣ рдЬрд╛рдирдХрд╛рд░реА рдХреЛ JSON рджрд╕реНрддрд╛рд╡реЗрдЬрд╝реЛрдВ рдХреЗ рд░реВрдк рдореЗрдВ рд╕рдВрдЧреНрд░рд╣рд┐рдд рдХрд░рддрд╛ рд╣реИ
  • рдпрд╣ рдПрдХ рдмреЗрд╣рдж рдлреНрд▓реЗрдХреНрд╕рд┐рдмрд▓ рдФрд░ рдкрд░рдлреЙрд░реНрдореЗрдВрд╕-рдУрд░рд┐рдПрдВрдЯреЗрдб рд╕рд┐рд╕реНрдЯрдо рд╣реИ рдЬреЛ рдЕрдирд╕реНрдЯреНрд░рдХреНрдЪрд░реНрдб рдФрд░ рд╕реЗрдореА-рд╕реНрдЯреНрд░рдХреНрдЪрд░реНрдб рдбреЗрдЯрд╛ рдХреЛ рд╕рдВрднрд╛рд▓рдиреЗ рдХреЗ рд▓рд┐рдП рдбрд┐рдЬрд╝рд╛рдЗрди рдХрд┐рдпрд╛ рдЧрдпрд╛ рд╣реИ

Differences between SQL and NoSQL

  • SQL: Structured, Fixed Schema, Suitable for Static Applications
  • NoSQL (MongoDB): Document-Based, Dynamic Schema, Suitable for Dynamic and Evolving Data Models
  • SQL Examples: MySQL, PostgreSQL
  • NoSQL Examples: MongoDB, Redis

Core Operations (CRUD)

  • Insert: DB.collection.insertOne(), insertMany()
  • Find: DB.collection.find()
  • Update: DB.collection.updateOne(), updateMany()
  • Delete: DB.collection.deleteOne(), deleteMany()

Comparison Operators

  • Equal, Not Equal, Greater Than, Less Than, In Operator
  • Use within find queries to filter data as per condition

Aggregation Framework

  • Aggregation is used for more complex data manipulations
  • Consists of pipeline stages such as $match, $group, $project, etc.
  • Used for operations like filtering, grouping, and transforming data

Indexes

  • Used to optimize query performance
  • Indexing helps in faster data retrieval and efficient sorting
  • Create, delete, and manage indexes

MongoDB Atlas

  • A fully managed cloud-based database service
  • Allows easy deployment, management, and scaling of MongoDB clusters in the cloud
  • Automated scaling options, supports global clusters

Advanced Topics

Working with MongoDB in Code

  • Using MongoDB Driver and Mongoose with Node.js for database operations
  • Establish connections, perform CRUD operations within a Node.js application

MongoDB Compass and Atlas

  • GUI tool for interacting with MongoDB
  • Allows importing/exporting data, performing queries, and managing indexes

Project: E-commerce Website

  • Creating a complete E-commerce website backend using Node.js, Express.js, and MongoDB
  • Setting up connections using MongoDB Atlas for cloud storage

Summary and Conclusion

  • MongoDB is a powerful and flexible NoSQL database system
  • The course covers everything from basic CRUD operations to advanced aggregation and indexing
  • The practical examples and the real-world project give hands-on experience in managing MongoDB databases

Additional Resources

  • MongoDB Documentation
  • Community forums and support channels
  • Online tutorials and example repositories for further study and practice

Thank you for participating. Please subscribe and share if you found this helpful.