#76 Advance filtering | Using MongoDB with Express| A Complete NODE JS Course

  Рет қаралды 9,546

procademy

procademy

Күн бұрын

Пікірлер: 14
@chrisstromberg6527
@chrisstromberg6527 11 ай бұрын
Excellent job explaining how to use Mongoose for filtering. I have been going about this all wrong in my attempts to do this. Being able to pass req.query to the find functions is a game changer for me. Thanks for the great series of videos.
@programmer9051
@programmer9051 10 ай бұрын
my question why we use filter in backend we can do it in frontend ??
@sonofagah2416
@sonofagah2416 2 ай бұрын
helps prevent exposing sensitive information to the client and you can control what data is sent to the client also for enhancing security.
@bishwashkumarsah171
@bishwashkumarsah171 5 ай бұрын
why cant we just use duration[$gte] = 118 in postman directly it gives the same result. Is it compulsory to use .replace. why cant we just pass [$gtl] in the first place.
@hassannouri9796
@hassannouri9796 4 ай бұрын
❤❤❤
@programmer9051
@programmer9051 10 ай бұрын
my question why we use filter in backend we can do it in frontend ??
@rahulsiddhardh3701
@rahulsiddhardh3701 9 ай бұрын
Because the data you need to send over the network reduces, which means, less the data more the speed of transmission. You do it on the server as usally servers have high computational powers compared most of the user machiness. So it is only logical to send the data that is required by the user and reduce the computations on the front-end.
@alihosaino7
@alihosaino7 Жыл бұрын
How many lectures will this course be?
@procademy
@procademy Жыл бұрын
Still a lot left to cover.... around 50 more videos
@muhangielioda
@muhangielioda Жыл бұрын
why arent you using regex..?
@logtariyoussef982
@logtariyoussef982 Жыл бұрын
Can you do tutorials about spring boot please
@vivasviyan
@vivasviyan Жыл бұрын
Can you please share the code for the reference.
@MassinDev
@MassinDev 10 ай бұрын
adcac
@DarkzarichV2
@DarkzarichV2 4 ай бұрын
I'd not recommend using mongodb comparison operators (such as gte, gt, lte, lt) in the url, better to use something making more sense like "rating_from", "rating_to". Define what can be filtered and how instead of giving absolute flexibility letting the user choose any field and any comparison
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Error handling in TypeScript. How to avoid exceptions.
6:11
Beyond TypeScript
Рет қаралды 2,9 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН