NestJS #40 - MongoDB & Mongoose | Schemas & Collections | Format for Storing Documents | (Hindi)

Опубликовано: 17 Февраль 2026
на канале: Computer Baba
4,498
94

Mongoose Schemas are used to define the shape of documents within a collection. The @nestjs/mongoose package provides the decorators to create the Schemas. This video discusses the concept of Schemas, Nested Schemes, and different types of data formats for Schema fields.


▬▬▬▬▬▬ 🔗 Links ▬▬▬▬▬▬

► GitHub (Source code): https://bit.ly/3BnqBPe

► NestJS - Mongoose | Setup & Configuration :    • NestJS #39 - MongoDB & Mongoose | Setup, C...  


▬▬▬▬▬▬ 📚 CHAPTERS ▬▬▬▬▬▬

00:00 - Introduction
01:04 - User Schema Class
01:54 - Schema Decorator
03:06 - Prop Decorator - Schema Fields
05:18 - Using Enum to Restrict Values
09:16 - Nested Schema - Address Schema Class
10:20 - SchemaFactory - Compile Schema Class
12:17 - raw Function - Mongoose Mixed Data Type
14:17 - Job Schema Class
16:38 - Model Reference - User Model Ref in Job Schema
20:29 - Closing notes


▬▬▬▬▬▬ 🔖 RECOMMENDED COURSES ▬▬▬▬▬▬

🎬 Angular In-Depth (Hindi) - https://bit.ly/34nHrBh
🎬 Angular Architecture -    • 1. Angular Architecture | Angular In Depth...  
🎬 NestJS Framework | Backend Development (Hindi) - https://bit.ly/3titPk3
🎬 RxJS - The Practical Guide (Hindi) - https://bit.ly/3GBcXsf
🎬 RxJS - Promise vs Observable | A depth comparison -    • 5. RXJS - Promise vs Observable | A depth ...  
🎬 RxJS - Introduction to Reactive programming -    • 1. RXJS - Introduction to Reactive program...  


▬▬▬▬▬▬ CONNECT WITH ME 👋 ▬▬▬▬▬▬

🐦 Twitter:   / akacomputerbaba  
🏠 Discord: https://bit.ly/3Js25iy
👓 GitHub: https://github.com/cistroncoder
📧 Email: [email protected]

💙 Join this channel
   / computerbabaofficial  


▬▬▬▬▬▬ 🎻 MUSIC ▬▬▬▬▬▬

🎵 Fresh Start - Joakim Karud
https://freesound.org


▬▬▬▬▬▬ # HASHTAGS ▬▬▬▬▬▬

#AmazingNestjs #nestjs #computer_baba #mongodb #mongoose #pipes #nestjs_pipes #data_transformation #microservices #dependency_injection #ioc_container #routing #nestjs_project #nodejs #rest_api #http #expressjs #fastify #graphql #mongodb #sql #typeorm #microservices #backend_development #javascript #typescript #rxjs #json