couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joan Touzet <woh...@apache.org>
Subject Re: Testing a CouchDB 2.0 feature
Date Wed, 24 Aug 2016 09:32:09 GMT
Replying to my own email with more detail.

The format of the 'queries' POST doc should look like:

{ 
  "queries" : [
    { "startkey": "a", "endkey": "c"},
    { "startkey": "q", "endkey": "s"}
  ]
}
  

----- Original Message -----
> From: "Joan Touzet" <wohali@apache.org>
> To: dev@couchdb.apache.org
> Sent: Wednesday, August 24, 2016 5:29:24 AM
> Subject: Re: Testing a CouchDB 2.0 feature
> 
> Looks like from the code your POST body should contain a
> 'queries' list or a 'keys' key-value pair. Here's an example
> of the latter that should now work under CouchDB 2.0 (see the
> answer, not the question):
> 
> http://stackoverflow.com/questions/27327140/how-to-combine-multiple-couchdb-queries-into-a-single-request
> 
> 
> 
> ----- Original Message -----
> > From: "Joey Samonte" <csharpdeveloper@hotmail.com>
> > To: dev@couchdb.apache.org
> > Sent: Wednesday, August 24, 2016 5:07:07 AM
> > Subject: Testing a CouchDB 2.0 feature
> > 
> > 
> > 
> > Good day,
> >  
> > It says here that this issue is already resolved.
> > https://issues.apache.org/jira/browse/COUCHDB-523
> > I was really looking forward for this feature, so I was wondering
> > is
> > there any documentation for this, on how to use the API?
> >  
> > Regards,
> > Joey
> >  
> >             
> > 
>  
> 

Mime
View raw message