Replies: 2 comments 2 replies
-
|
You can define a unique index against @out + @in on edge type. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
But that would error, right? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
By default all edges are bi-directional.
So if I want to create one and only one edge between to nodes I do:
However,
IF NOT EXISTSforCREATE EDGEregards the direction, so I can create another edge with:Is there a way to create one and only one edge between nodes disregarding direction?
Beta Was this translation helpful? Give feedback.
All reactions