Hi, i am trying to build a changes listener and for all docs which got modified or deleted i'd like to get the last version for comparison.
I am right now using a construct like this:
/couchdb/fidb/_changes?feed=continuous&since=X&include_docs=true&heartbeat=3000
Get the deleted or changed entrys - Fetch this:
couchdb/fidb/<delorchangeddocid>?revs=true&open_revs=all
And then fetch the deleted/changed documents revision.
Is there an easier way i simply didnt recognize? include_last_rev=true ?
Flo
--
Florian Lohoff [email protected]
We need to self-defend - GnuPG/PGP enable your email today!
signature.asc
Description: Digital signature
