Organizational Research By

Surprising Reserch Topic

difference between cursor count and cursor size mongodb


difference between cursor count and cursor size mongodb  using -'java,mongodb,mongodb-java,mongo-java'

asked Sep 21, 2015 by jekbishnoi
0 votes
26 views



Related Hot Questions

1 Answer

0 votes

From the javadoc of Mongodb Java Driver, it says :

DBCursor.count() : Counts the number of objects matching the query.This does not take limit/skip into consideration.

DBCursor.size() : Counts the number of objects matching the query.This does take limit/skip into consideration.

answered Sep 21, 2015 by abhimca2006

...