If your collection name is not plural then mongoose will try to make it plural for you. In this video I show you how to disable this weird "feature" in the case that you don't want it.
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
🖥️ Source code:
https://github.com/AlexzanderFlores/W...
🙋♂️ Need help? Ask in our Discord community:
https://wornoffkeys.com/discord
💡 Have an idea for a video or course? Request it here:
https://wornoffkeys.com/content-request
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
🕐 Timestamps:
00:00 Introduction
01:34 Non-plural collection names
05:03 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.