This is what I'm looking at. http://developer.couchbase.com/mobile/develop/references/couchbase-lite/rest-api/document/put---db---doc-/index.html
slim On Saturday, May 24, 2014 6:23:33 PM UTC-4, Jens Alfke wrote: > > > On May 24, 2014, at 2:44 PM, Seung Chan Lim <[email protected]<javascript:>> > 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/8d3a2344-4568-4aaa-8542-a2901b122f53%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
