Handling numeric filters on backend using ExpressJS and MongoDB
Working with numeric filters (Greater than or less than a certain amount)
Consider the following statement :
Product.find({prices:{$gt:30}})
Here $gt means greater than. Similarly $lt will mean less than. Product is the name of our schema we created ...
siddhantsiddh15.hashnode.dev3 min read