couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Metson <simonmet...@googlemail.com>
Subject Re: Order Number generation
Date Fri, 09 Apr 2010 10:20:32 GMT
What about using something like a Record Locator (http://search.cpan.org/~jesse/Number-RecordLocator/

  for some perl code, I have a python version somewhere...) to  
generate the _id?


On 9 Apr 2010, at 11:25, Sebastien PASTOR wrote:

> Hello all,
> In my app, i create documents which are orders for goods. My problem  
> is to be able to  to display  a "nice" order number to the customer.  
> What i mean by nice is
> basically not a UUID which is very long and not very easy to read.  
> Would
> anyone have a trick to handle this ? For instance using part of the  
> UUID
> could suffice ? I fear that all this comes down to the uniqueness  
> issue
> i have seen discussed in previous threads. ..
>
> Thanks in advance
>
> Seb


Mime
View raw message