couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Schmidt <oliver.schm...@orlives.de>
Subject Re: Rewriting query keys
Date Fri, 29 Nov 2013 20:57:23 GMT
Thanks, but I CouchDB complains that I don't use valid JSON. I need a 
composed key as an array, how can I achieve this?

Am Mittwoch, 27. November 2013, 14:52:51 schrieb martinh@gmail.com:
> Here's an example of one I use that does something similar
> 
> [
> 
> 
>     { 
>         "from" : "/isBlocked/:blockee", 
>         "to": "_list/isBlocked/isBlocked", 
>         "query": { 
>             "key" : ":blockee", 
>             "include_docs" : "true",
>             "reduce" : "false"
>         } 
>     },
>     ...
> ]


Mime
View raw message