On May 24, 2014, at 2:44 PM, Seung Chan Lim <[email protected]> wrote:

> I vaguely remember that if I wanted to update an existing document using PUT 
> I could simply specify the revision in the "_rev" attribute of the updating 
> document itself. Now I look at the docs and it says I should use a "rev" 
> parameter as part of a query string to the HTTP request URL.

Either way works. The "_rev" property in the body is more commonly used, 
though, so I don't know why our docs would suggest the other way.

--Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/DA71F9B3-6D2B-4EDE-A15B-E6DEE6D8CA78%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to