You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Steven Tseng (JIRA)" <ji...@apache.org> on 2016/09/12 06:07:20 UTC

[jira] [Created] (COUCHDB-3144) Documentation for specific design document has typo

Steven Tseng created COUCHDB-3144:
-------------------------------------

             Summary: Documentation for specific design document has typo
                 Key: COUCHDB-3144
                 URL: https://issues.apache.org/jira/browse/COUCHDB-3144
             Project: CouchDB
          Issue Type: Improvement
          Components: Documentation
            Reporter: Steven Tseng


http://docs.couchdb.org/en/stable/api/ddoc/views.html
{noformat}
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"
    ]
}
{noformat}

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"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)