There is for instance an uuid generating neo4j-extension from Stefan Armbruster 
which might be worth checking out.

Otherwise you can also generate the uuid externally and use MERGE (n:User { 
uuid : {uuid}}) ON CREATE SET n.name = {name} return n

Why do you want to assign an UUID to a relationship?

Michael

Am 14.01.2014 um 01:20 schrieb Jake Ortiz <[email protected]>:

> Currently I'm developing a social app for the iPhone with my computer as a 
> server, and have bumped into a couple of obstacles. One I'm particularly 
> trying to figure out is how assign an UUID to a node or relationship upon 
> creation and if it already exists try again with a different uuid. I want to 
> know if i there is anyway to implement this as a function like timestamp(). 
> I'm developing on Neo4j 2.0.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to