skip and limit function not work in MongoDb -
i trying find records limit , skip in options skip,limit does't work used following query
1.db.getcollection('collectionname').find({},{},{skip: 13, limit: 1000})
and query woking fine
2.db.getcollection('collectionname').find({}).skip(13).limit(1000)
but have used first 1 please suggest me solution if knows that
Comments
Post a Comment