Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-489

Add DBCursor.count(boolean foundOnly)

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      At this moment it's impossible to get the number of results with skip and limit applied:
      http://api.mongodb.org/java/2.7.0/com/mongodb/DBCursor.html#count()

      At the same time PHP and Python have this ability.

            Assignee:
            brendan Brendan W. McAdams
            Reporter:
            uladzimir_mihura@epam.com Uladzimir Mihura
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: