how to display cars older than 5 years from mongodb in the windows cli code example
Example 1: mongodb find with gt
{field: {$gt: value} }
Example 2: mongodb greater than
db.yourDataBase.find({counter:{$gt:2}})
{field: {$gt: value} }
db.yourDataBase.find({counter:{$gt:2}})