MongoDB in NodeJS - Conditional Operators (2020) [Episode #16]

preview_player
Показать описание
In this video we go over how to search through documents using conditional operators such as "greater than" "less than" and "exists".

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

🖥️ Source code:

🙋‍♂️ Need help? Ask in our Discord community:

💡 Have an idea for a video or course? Request it here:

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

🕐 Timestamps:
00:00 Introduction
00:31 Adding the "level" property to our schema
01:55 Searching for values greater than or equal to
03:31 Searching for values less than or equal to
03:43 Searching for values that do or do not exist
04:47 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.
Рекомендации по теме
Комментарии
Автор

🔥 Get the code:

🙋‍♂ Need help? Ask in our Discord community:
wornoffkeys.com/discord

WornOffKeys
Автор

Best js tutorials for discord bot creating and other things

samvelpetrosyan
Автор

I want to match all the documents in my collection that have two certain fields and then get the value of whichever of those two fields is greater. is this possible?

maxcfi