JUGLviv

Meta


Recent Posts


Categories


Tags


Archives


JUGLviv

#tip

#tip #mongo #limit

Interesting thing with mongo queringDo you know result of db.myCollection.find().limit(0)?It will be the same to db.myCollection.find() and return everything from collectionWhat about such thing db.myCollection.find().limit(-12)? Will it work at all?Yes It will return the same to db.myCollection.find().limit(+12)

JUG LvivJUG Lviv
Bitnami