couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <>
Subject builting changes filter functions
Date Sat, 13 Nov 2010 15:38:22 GMT
Hi all,

So since our last discussion i've rewrite builtin filter fonction to
get changes according some docids. It now works on GET and POST by
passing _docids as flter name. Then you could pass json encoded list
of docid as a doc_ids query argument or a doc_id member of a json
object in the body:

POST /test_suite_db/_changes?feed=continuous&timeout=500&since=7&filter=_docids



I've also added another builtin to get changes if a design document is
created or changed named "_design" . And maybe we could also add a
"_regexp" builtin filter ?

Diff is here :

OK for commit it ?

- benoƮt

View raw message