incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Blakey <>
Subject Re: Can I guarantee uniqueness in a field without using _id?
Date Tue, 13 Jan 2009 02:03:25 GMT

On 13/01/2009, at 12:24 PM, Paul Davis wrote:

> Also, I just realized that an easy way get close to what you want is
> to use MD5's of all the stuff you want to be unique. Then your id's
> remain reasonable unique etc.

Which is a form of global identity, modulo the probabilistic nature of  
hash collisions, rather than state.

Antony Blakey
CTO, Linkuistics Pty Ltd
Ph: 0438 840 787

75% of statistics are made up on the spot.

View raw message