Hi Abhinav,

Can you elaborate on what you mean with ‘unique across environments’?

Cheers,
Geert

From: 
<general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>>
 on behalf of abhinav mishra 
<abhinavmishr...@gmail.com<mailto:abhinavmishr...@gmail.com>>
Reply-To: MarkLogic Developer Discussion 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Date: Tuesday, February 13, 2018 at 8:40 AM
To: 
"general-requ...@developer.marklogic.com<mailto:general-requ...@developer.marklogic.com>"
 
<general-requ...@developer.marklogic.com<mailto:general-requ...@developer.marklogic.com>>,
 "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Subject: [MarkLogic Dev General] Unique GUID generation in MarkLogic

Hi All,

We are exploring ways to generate GUIDs. We just want to be sure that the GUIDs 
are unique always and we have a requirement that these GUIDs should be even 
unique across environments. There should not be same GUID in two MarkLogic 
environments

We found sem:uuid-string() function from documentation and seems like a good 
point to start with. However we are not sure if this method returns unique 
across environments.

Can someone guide or provide more information on GUID generation, any third 
party open source library which we can use.

Regards,
Abhinav
--
Sent from my iPhone
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to