couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien PASTOR <sebastien.pas...@gmx.com>
Subject Re: Order Number generation
Date Mon, 12 Apr 2010 09:34:04 GMT
Thanks Simon, 

I ll have a look at it !

Thanks again

Seb

On Fri, Apr 09, 2010 at 11:20:32AM +0100, Simon Metson wrote:
> 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