Isn't this the default behaviour? All you need to update a document is it's '_id'. Since this is a data warehouse, I assume the ID is already being set by the transaction system, so you don't need to do a lookup. If you PUT a document ( http://docs.couchdb.org/en/latest/api/document/common.html#put--db-docid) using it's ID, it will replace the previous revision.
Am I missing something? On Fri, Nov 8, 2013 at 11:33 AM, Robert Newson <[email protected]> wrote: > There is not, not even update handlers can do that, by design. > > B. > > > On 8 November 2013 17:41, Stanley Iriele <[email protected]> wrote: > > Update handlers sound like the way to go here.... > > On Nov 8, 2013 9:39 AM, "Alex Ramos" <[email protected]> wrote: > > > >> Is there any way to unconditionally overwrite a document without first > >> making a round-trip to get the current rev? > >> > >> I'm trying to use CouchDB as a data warehouse of sorts and I just need > to > >> overwrite docs with data coming from the transactional system of record > (in > >> MySQL) when they change. > >> >
