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

Cursor.skip should return the number of documents actually skipped

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.5.3
    • API
    • None

    Description

      Example: If I call Cursor.skip(100), but there are only 84 documents in the cursor, I would want to be sure that indeed only 84 were skipped.

      As it stands now, without this information, Cursor.skip is of limited use, and in many cases documents will have to be read one by one in order to count them.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tal.liron Tal Liron
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: