How to get less than ammount mongo db code example Example: mongodb less than db.yourDatabaseName.find(counter:{$lt:100})