nlight-jdev / jcouchdb

Automatically exported from code.google.com/p/jcouchdb
Other
0 stars 0 forks source link

How to post to view queries? #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is there a way to post to view queries. This will enable filtering views
based on keys as described here
http://www.mail-archive.com/couchdb-user@incubator.apache.org/msg01508.html.

Original issue reported on code.google.com by dhayani...@gmail.com on 26 Nov 2008 at 7:04

GoogleCodeExporter commented 8 years ago
I will have to implement that once the SVN state of couchdb runs on my computer 
=(

Original comment by ff...@gmx.de on 28 Nov 2008 at 8:31

GoogleCodeExporter commented 8 years ago
I committed an implementation of this as Database.queryViewByKeys and
Database.queryByKeys. This is currently only available in the SVN version and
will be included in the next release.

Original comment by ff...@gmx.de on 6 Dec 2008 at 12:14

GoogleCodeExporter commented 8 years ago
While the current code for queryViewByKeys works, it's not really optimal for
scenarios that use the include_docs=true option. I will have to do some more 
code
changes for that. Most likely involving changing the ViewResult querying 
mechanism to
support both view-key-class and document-class parsing.

Original comment by ff...@gmx.de on 9 Dec 2008 at 8:54

GoogleCodeExporter commented 8 years ago
version 0.7 supports value and document parsing.

Original comment by ff...@gmx.de on 14 Dec 2008 at 8:48