'How to get less than or greater than value based on specific column in mongodb using node js?

Suppose that,I have a product collection named productCollection.How can i get all those products where the product's amount is less than a specific amount?What is the query



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source