couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Benson <lahike...@gmail.com>
Subject Re: overwrite document without revision?
Date Sat, 09 Nov 2013 00:45:10 GMT
Couldn't you just store the _rev in your database?

If data is coming from a centralized server, there should be no chance of
conflicts.  And if you do get conflicts, you ought to resolve them properly
(ie by making sure the latest revision in your main database and in couchdb
are the same).


On Fri, Nov 8, 2013 at 3:25 PM, Robert Newson <rnewson@apache.org> wrote:

> Please start a new thread, don't tack unrelated items to existing ones.
>
> B.
>
>
> On 8 November 2013 22:52, Naik, Purushottam <PNaik@ballytech.com> wrote:
> > Hi Jens,
> > This (Yes) was sent to confirming to subscription to CouchDB! I am new
> to CouchDB. We are looking for help on professional training with CouchDB?
> Any good companies/experts to help with CouchDB development?
> > Thanks
> > PG
> >
> > Purushottam G Naik (PG),
> > Senior Director iSeries Software,
> > Bally Technologies,
> > 245 Town Park Drive,
> > 5th Floor, Suite 500,
> > Town Park-Ravine One,
> > Kennesaw, GA 30144.
> > Direct 702-584-8899
> > Cell    404-903-0819
> > Main   770-420-2388
> > Fax    770-420-9650
> > pnaik@ballytech.com
> >
> >
> >
> > -----Original Message-----
> > From: Jens Alfke [mailto:jens@couchbase.com]
> > Sent: Friday, November 08, 2013 5:46 PM
> > To: user@couchdb.apache.org
> > Subject: Re: overwrite document without revision?
> >
> >
> > On Nov 8, 2013, at 12:53 PM, Daniel Nephin <dnephin@gmail.com<mailto:
> dnephin@gmail.com>> wrote:
> >
> > Am I missing something?
> >
> > Yes. To update a document you need its current _rev ID, not just the _id.
> >
> > -Jens
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message