couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joey Samonte <csharpdevelo...@hotmail.com>
Subject RE: Testing a CouchDB 2.0 feature
Date Tue, 30 Aug 2016 05:10:38 GMT
Is it possible to add a 'limit' and 'descending' clause to each pair of startkey/endkey?
 
> Date: Wed, 24 Aug 2016 14:51:56 -0400
> From: wohali@apache.org
> To: dev@couchdb.apache.org
> Subject: Re: Testing a CouchDB 2.0 feature
> 
> Try it and find out! :) (Yes, it should work just fine.)
> 
> 
> 
> ----- Original Message -----
> > From: "Joey Samonte" <csharpdeveloper@hotmail.com>
> > To: dev@couchdb.apache.org
> > Sent: Wednesday, August 24, 2016 7:31:00 AM
> > Subject: RE: Testing a CouchDB 2.0 feature
> > 
> > Could the startkeys and endkeys be arrays as before?
> > Thanks!
> >  
> > > Date: Wed, 24 Aug 2016 05:32:09 -0400
> > > From: wohali@apache.org
> > > To: dev@couchdb.apache.org
> > > Subject: Re: Testing a CouchDB 2.0 feature
> > > 
> > > 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message