Check out http://en.wikipedia.org/wiki/Universally_unique_identifier for
background info.

You don't need to write any code yourself, because couchbase lite will
auto-assign a UUID as long as you don't provide your own _id.


On Fri, Apr 25, 2014 at 9:10 AM, Sandra <[email protected]> wrote:

> Thank you Jens.
> Would you please re-direct me to some document where I can learn about
> UUID?
>
>
> On Tuesday, April 22, 2014 12:33:45 PM UTC-5, Sandra wrote:
>>
>> Hello,
>>    I need to assign certain items a unique ID, I'm thinking of a sequence
>> number but I don't know how to implement in couch base something equivalent
>> to SQL auto number field.
>>    Any advice is welcome,
>>    Thank you, Sandra
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Couchbase Mobile" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mobile-couchbase/1a54705a-ceaa-4770-a24f-2866885e71a2%40googlegroups.com<https://groups.google.com/d/msgid/mobile-couchbase/1a54705a-ceaa-4770-a24f-2866885e71a2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCH_km3dLPDaub86pKTWhyuQL54hWPw6ZN_Li%3DKXy-W26w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to