[ 
https://issues.apache.org/jira/browse/COUCHDB-3144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steven Tseng closed COUCHDB-3144.
---------------------------------
    Resolution: Not A Problem

Work around achieved - required embedded arrays.

> 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
>            Priority: Trivial
>
> 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)

Reply via email to