select documents where value is less than given value mongodb code example Example: mongodb less than db.yourDatabaseName.find(counter:{$lt:100})