Hi Paul, Yes This issue I now.
I want to redefine an id that was already defined automatically by the couchDB. I already have a lot of register with _id as UUID, I want to change it to another value. Thanks, *Fabio Batalha C. Santos* Colegiado SciELO www.scielo.org FAPESP - CNPq - BIREME - FapUNIFESP On Thu, Jan 27, 2011 at 5:05 PM, Paul Davis <[email protected]>wrote: > On Thu, Jan 27, 2011 at 2:02 PM, Fabio Batalha Cunha dos Santos > <[email protected]> wrote: > > Hello all, > > > > I'd like to know if is it possible to redefine the _id value. I intend to > > user a different id from the automatic UUID generated by the couchdb. > > > > Thanks, > > *Fabio Batalha C. Santos* > > Colegiado SciELO > > www.scielo.org > > FAPESP - CNPq - BIREME - FapUNIFESP > > > > Just put to /db_name/docid or POST with an {"_id": "my_id", ...} > > Couch only generates an id when you haven't provided one. >
