Worn Off Keys | MongoDB in NodeJS - Timestamps, Default Values, and Min/Max Numbers (2020) [Episode #11] @WornOffKeys | Uploaded 4 years ago | Updated 3 hours ago
In this video we go over some useful options when working with MongoDB schemas. Timestamps will automatically track when documents are created or updated. Default values will allow a specific value to always be present in your documents even if you don't manually specify it. Finally, minimum and maximum numbers force the program to only allow certain number ranges.
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
🖥️ Source code:
github.com/AlexzanderFlores/Worn-Off-Keys-MongoDB-NodeJS
🙋♂️ Need help? Ask in our Discord community:
wornoffkeys.com/discord
💡 Have an idea for a video or course? Request it here:
wornoffkeys.com/content-request
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
🕐 Timestamps:
00:00 Introduction
00:42 Adding timestamps to documents
03:44 Default values in documents
04:40 Minimum and maximum number values
07:59 Outro
#mongodb #javascript #nodejs #wornoffkeys
FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos.
In this video we go over some useful options when working with MongoDB schemas. Timestamps will automatically track when documents are created or updated. Default values will allow a specific value to always be present in your documents even if you don't manually specify it. Finally, minimum and maximum numbers force the program to only allow certain number ranges.
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
🖥️ Source code:
github.com/AlexzanderFlores/Worn-Off-Keys-MongoDB-NodeJS
🙋♂️ Need help? Ask in our Discord community:
wornoffkeys.com/discord
💡 Have an idea for a video or course? Request it here:
wornoffkeys.com/content-request
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
🕐 Timestamps:
00:00 Introduction
00:42 Adding timestamps to documents
03:44 Default values in documents
04:40 Minimum and maximum number values
07:59 Outro
#mongodb #javascript #nodejs #wornoffkeys
FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos.