CouchDB
  1. CouchDB
  2. COUCHDB-523

View API POST keys to retrieve multiple docs by key could also allow for multiple 'range' queries, i.e. an array of { startkey: .., endkey: ... } params in the POST

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: HTTP Interface
    • Labels:
      None
    • Skill Level:
      Committers Level (Medium to Hard)

      Description

      It would be useful if I could do a single POST to a view to retrieve multiple ranges specified by startkey, endkey.

      The format could be as follows:

      { "ranges": [

      { "startkey": "a", "endkey": "c" }

      ,

      { "startkey":"g", "endkey":"z" }

      ] }

      1. ranged_key_post.diff
        0.8 kB
        Benjamin Anderson
      2. multi_start_end_key.diff
        2 kB
        Jamie Talbot
      3. couch_httpd_view.erl
        27 kB
        Jamie Talbot

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Russell Branca
              Reporter:
              Nathan Stott
            • Votes:
              19 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development