Thank you, Giovanni.

> You can't. Each document only knows about itself. But there is probably
> another way of accomplishing what you want with CouchDB.

In my current application, just before local program uploads document "33333"
it searches couchDB and knows 'the ancestor of this document  "33333" is
 "22222"  and its value is "hello" ' , then add  {"its ancestor value":"hello"}
to document "33333" , then finally upload the document "33333".

So, to PUT one document,local program communicates with couchDB
twice and I feel it inefficient.
But I understand this GET and PUT is necessary.

I'm sorry for my poor english.

ken tashiro

Reply via email to