On Sat, Mar 7, 2009 at 3:58 AM, Wout Mertens <[email protected]> wrote: > Hi devs, > > Would it be possible to allow a _prefix parameter to be given when creating > a new document, which would be used for auto-generating an _id?
Currently it's recommended not to POST new documents without ids to CouchDB. Due to HTTP protocol issues this can result in duplicate document creation. Instead, GET /_uuids?count=200 and use the array of uuids for your next 200 docs. From there it is simple to add the prefix in your application. Chris -- Chris Anderson http://jchris.mfdz.com
