couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject filter changes for some docids
Date Wed, 13 Oct 2010 15:24:34 GMT
Hi all,

For a project I have to know each time a design doc change and for now
I have to create a filter function for each databases created to do
that. I think getting changes on specific docids is a common behavior
(see replication for example) so I thought to add the possibility to
filters changes on docids if a list of documents is passed in the
request.

ex:

POST /db/_changes
{"docids": ["id1", ..]}


Here is the patch that allows that feature :
http://github.com/benoitc/couchdb/commit/fd7829b6b3093ab324a2b5c496600cc6335480b8

What do you think about it ?

- benoit

Mime
View raw message