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

Documentation for specific design document has typo

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Not A Problem
    • None
    • None
    • Documentation
    • None

    Description

      http://docs.couchdb.org/en/stable/api/ddoc/views.html

      POST /recipes/_design/ingredients/_view/by_name HTTP/1.1
      Accept: application/json
      Content-Length: 37
      Host: localhost:5984
      
      {
          "keys": [      <-- Incorrect, should be "key": [
              "meatballs",
              "spaghetti"
          ]
      }
      

      Using "keys" as the body key value, returns no rows as the current view returned is based on key and value being in singular format - "key" and "value"

      Attachments

        Activity

          People

            Unassigned Unassigned
            chewy Steven Tseng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: