Closed timotheecour closed 5 years ago
perhaps the code should use -1 as special value to mean "all", not 0, which should be a valid limit
EDIT: sadly, this matches behavior of mongo shell, eg: db.tnimongo.find().limit(0) returns everything...
also mentioned here: http://devblog.me/wtf-mongo pymongo and D's vibe.mongo are also same
closing
perhaps the code should use -1 as special value to mean "all", not 0, which should be a valid limit