incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From faust 1111 <faust...@gmail.com>
Subject Re: Short ids in url.
Date Mon, 19 Apr 2010 12:48:19 GMT
is it possible send couch like /_uuids?count=10
and its return me  short ids?

2010/4/19 faust 1111 <faust451@gmail.com>:
> I need autogenerated short ids.
> i try use rand(99999999) is it fine?
>
> 2010/4/19 David Coallier <david.coallier@gmail.com>:
>> On 19 April 2010 11:19, faust 1111 <faust451@gmail.com> wrote:
>>> yes i know that i can create my own ids
>>> but i am interesting in what way couch guy's solve this.
>>>
>>
>> Right... I'm not sure I exactly understand what you mean. Do you mean
>> how could one do that from within CouchDB using autogenerated IDs or
>> using something like "io" (http://github.com/janl/io) which is a short
>> url generator using CouchDB :)
>>
>>
>>
>> --
>> David Coallier
>>
>

Mime
View raw message