Models are responsible for creating and reading Documents from the underlying MongoDB database. This video explains the concept of creating Models from Schemas. Also, we will learn how to Inject the Models to interact with the MongoDB database. We will discuss Models, Documents, MongooseModule "forFeature" method, and InjectModel Decorator.
▬▬▬▬▬▬ 🔗 Links ▬▬▬▬▬▬
► GitHub (Source code): https://bit.ly/3Sg4hy2
► NestJS - Services : • NestJS #16 - Modules | Feature Module, Sha...
► NestJS - Modules : • NestJS #16 - Modules | Feature Module, Sha...
► NestJS - Dynamic Modules : • NestJS #17 - Modules | Dynamic Modules | C...
► NestJS - Services | Concept & Usage : • NestJS #15 - Services | Concept & Usage | ...
► NestJS - Mongoose Schemas : • NestJS #40 - MongoDB & Mongoose | Schemas ...
▬▬▬▬▬▬ 📚 CHAPTERS ▬▬▬▬▬▬
00:00 - Introduction
00:36 - Users & Jobs Modules
01:30 - MongooseModule "forFeature" Method & User Model
04:29 - Naming Models
07:04 - Job Model
08:29 - Concept of Model Injection
08:55 - InjectModel Decorator - Injecting User Model
10:38 - Model Instance - Concept of Document
12:46 - InjectModel Decorator - Injecting Job Model
13:57 - Viewing Collections in Database
15:12 - Separate Models Module - MongooseModelsModule
17:47 - 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 #mongoose_model #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