Assuming the id's are your custom ids. (make sure to create a constraint
for those for quick lookups).

CREATE CONSTRAINT ON (n:Label) ASSERT n.id IS UNIQUE;

MATCH (n1: Label {id:210}), (n2:Label {id:211})
CREATE (n1)-[:FEATURES]->(n2);


On Sat, Jul 29, 2017 at 2:45 PM, Guillaume SERVANT <[email protected]>
wrote:

> Hi every body,
> I'm young beginner on Neo4j.
> Can someone explain me how to create relationship between two ID like :
>
> Create ID:(210) -[:FEATURES]->ID:(211)
>
> (the two ID have the same Node Label)
>
> Thanks
>
> Gui
>
> --
> 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