mongodb less than 0 code example Example: mongodb less than db.yourDatabaseName.find(counter:{$lt:100})