you just assign your id to an "id" property and assign the node a label too.

And after creating a constraint you can efficiently access a node by id

create constraint on (n:MyLabel) assert n.id is unique;

> Am 26.01.2015 um 14:02 schrieb FERHAT Ilyes <[email protected]>:
> 
> Hi all
> I know that all nodes when they are created are identified by an automatique 
> ID. But how can I identify a node with my own ID?!  
> Thanks.
> 
> -- 
> 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/d/optout.

-- 
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/d/optout.

Reply via email to