Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-82

total_rows should be the number of rows returned if the count parameter is not supplied

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Database Core
    • Labels:
      None

      Description

      I need the ability to paginate though a subset of a view. I make view requests with startkey, endkey, and count. I would like to paginate through these rows, but I cannot know the total rows between startkey and endkey without making an extra view which adds up the totals.

      It would be much better if total_rows, returned in the view, reflected the number of rows that would be returned had the count parameter not been supplied.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              antirobotrobot antirobotrobot
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: