mongodb check if value is less than js code example Example: mongodb less than db.yourDatabaseName.find(counter:{$lt:100})