couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Replication_and_conflicts" by BrianCandler
Date Sun, 01 Nov 2009 11:20:07 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Replication_and_conflicts" page has been changed by BrianCandler.
The comment on this change is: Rename the sample database to avoid accidentally trashing someone's
"test" database.
http://wiki.apache.org/couchdb/Replication_and_conflicts?action=diff&rev1=5&rev2=6

--------------------------------------------------

  require 'rubygems'
  require 'restclient'
  require 'json'
- DB="http://127.0.0.1:5984/test"
+ DB="http://127.0.0.1:5984/conflict_test"
  
  # Write multiple documents as all_or_nothing, can introduce conflicts
  def writem(docs)

Mime
View raw message