NestJs - MongoDB [11]

Published: 05 December 2023
on channel: Computerix
860
24

We learn how to connect to a mongoDb database using the NestJs mongoose package. We cover multiple concepts:

1- Different ways we can connect to a database
2- Creating a Schema
3- Registering a model
4- Injecting that model and using it as a dependency
5- Exporting models
6- Using multiple databases
7- Accessing the mongoose Connection object

Timestamps:
--------------------
0:00- Introduction
1:00- Connecting to our database
7:00- Creating a Schema
12:13- Registering and using our models
18:18- The Mongoose Connection Object
18:54- Using Multiple Databases
21:00- Exporting Models
22:20- Summary


Watch video NestJs - MongoDB [11] online without registration, duration hours minute second in high quality. This video was added by user Computerix 05 December 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 86 once and liked it 2 people.