🚀Grab Knowledge about Schema and Model in Mongoose . . .
- Views
- 3K
- Likes
- 170
- Comments
- 1 comments
- Shares
- 1
- Saves
- 28
- #webdeveloper
- #webdevelopment
- #fullstackdeveloper
- #dsa
- #backend
- #mongoose
- #nodejs
- #coding
- #javascript
- #programming
- #webdev
- #developer
- #frontend
- #fullstack
- #programmer
- #softwareengineer
- #tech
- #technology
Show more details Subtitles, video quality and playlist
About the hashtags
#tech: Thanks to all who participated in the #Tech Post Contest! Check out the winner showcase here: https://vt.tiktok.com/ZMAbjKkKA/
Transcript
Models and models Most of us, when we speak, are in it. So today they will understand it well. What do they do and why do they do it? Now you know that. This happens in the value peer of the document in the database The structure of this document. So that the user does not make a mistake. We have created a list of names. Edge and Emil's Field But user font Then he puts his number on it. Schema will not export this user data And he will make an error. Because there is an extra field in this data Which is not defined in the scheme. Which is defined in the scheme. Its accommodating can only fail user data Now you will find the data by using the schema. But how do you insert it into the collection? We need a model to do this. Model Extends Two Parameters Collection Name And whatever scheme you have created, they will do beyond it. Follow along tomorrow.