No video

NestJS #44 - MongoDB & Mongoose | Hooks & Middlewares | Instance, Static & Query Methods | (Hindi)

Mongoose Hooks are useful for running middleware functions before or after a query or operation. We can also add custom methods to Document instance for adding specific functionalities related to documents. Similarly, Mongoose provides the Static methods to bind on Models. There also exists Query Helpers to extend the find queries functionality. This video demonstrates the use of Hooks, Instance methods, Static Methods, and Query Helpers.
▬▬▬▬▬▬ 🔗 Links ▬▬▬▬▬▬
► GitHub (Source code): bit.ly/3LVA05u
► NestJS - Mongoose Schemas : • NestJS #40 - MongoDB &...
► NestJS - Mongoose Models : • NestJS #41 - MongoDB &...
► NestJS - Mongoose Users CRUD : • NestJS #42 - MongoDB &...
▬▬▬▬▬▬ 📚 CHAPTERS ▬▬▬▬▬▬
00:00 - Introduction
01:00 - Populate Field
03:06 - Pre "findOne" Hook Middleware
06:16 - Populate & Fields Projection
07:16 - Pre "find" Hook Middleware
09:23 - Pre "save" Hook Middleware - Hash Password before save
13:03 - Document Instance Method - Password compare
20:12 - Model Static method - User findByEmailAndPassword
25:48 - Query Helpers - Extend Find Queries
32:54 - Closing notes
▬▬▬▬▬▬ 🔖 RECOMMENDED COURSES ▬▬▬▬▬▬
🎬 Angular In-Depth (Hindi) - bit.ly/34nHrBh
🎬 Angular Architecture - • 1. Angular Architectur...
🎬 NestJS Framework | Backend Development (Hindi) - bit.ly/3titPk3
🎬 RxJS - The Practical Guide (Hindi) - bit.ly/3GBcXsf
🎬 RxJS - Promise vs Observable | A depth comparison - • 5. RXJS - Promise vs O...
🎬 RxJS - Introduction to Reactive programming - • 1. RXJS - Introduction...
▬▬▬▬▬▬ CONNECT WITH ME 👋 ▬▬▬▬▬▬
🐦 Twitter: / akacomputerbaba
🏠 Discord: bit.ly/3Js25iy
👓 GitHub: github.com/cis...
📧 Email: officialcomputerbaba@gmail.com
💙 Join this channel
/ computerbabaofficial
▬▬▬▬▬▬ 🎻 MUSIC ▬▬▬▬▬▬
🎵 Fresh Start - Joakim Karud
freesound.org
▬▬▬▬▬▬ # HASHTAGS ▬▬▬▬▬▬
#AmazingNestjs #nestjs #computer_baba #mongodb #mongoose #mongoose_model #mongoose_schemas #bcrypt #password_hashing #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

Пікірлер: 14

  • @tarunsikarwar
    @tarunsikarwar Жыл бұрын

    your teaching method is great. please make a series of react nextjs with TS and TypeScript tutorial for professional level

  • @ComputerBabaOfficial

    @ComputerBabaOfficial

    Жыл бұрын

    Thank you for the gratitude Tarun and I will try to create the series on React ecosystem as well.

  • @soifriwaj2914
    @soifriwaj2914 Жыл бұрын

    Very detailed and informative, the channel will become a one stop shop for nestjs someday. Keep up the great work please. Also consider graphql with nestjs if possible.

  • @ComputerBabaOfficial

    @ComputerBabaOfficial

    Жыл бұрын

    Soif your comment is such a motivation for me thank you for the kind words. Graphql with Nestjs will come soon maybe in a separate series.

  • @tarunsikarwar
    @tarunsikarwar Жыл бұрын

    This is series amazing for nestjs developer.

  • @sanketkothiya547
    @sanketkothiya547 Жыл бұрын

    thank you sir for this

  • @kirindev
    @kirindev Жыл бұрын

    thank you very much.

  • @shaikhabid3958
    @shaikhabid3958 Жыл бұрын

    Nice teaching

  • @grishmasuryawanshi6992
    @grishmasuryawanshi6992 Жыл бұрын

    Very helpful video

  • @ComputerBabaOfficial

    @ComputerBabaOfficial

    Жыл бұрын

    Thank you Grishma, Its a pleasure to share the knowledge.

  • @abhishekrajput5475
    @abhishekrajput5475 Жыл бұрын

    please make video of mongoose with typescript

  • @vikendrasingh6713
    @vikendrasingh6713 Жыл бұрын

    Please make video on nestjs virtuals and populate

  • @PTM1008
    @PTM10089 ай бұрын

    Ye NestJS developers ke lie Bhagwad Geeta hai.

  • @singh.aadarsh
    @singh.aadarsh5 ай бұрын

    Bhai debi aur dewta mt bolo yar apman hota hai😂