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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Database Core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: