Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete docs on undirected relationship in MERGE clause #13009

Closed
v-spassky opened this issue Dec 14, 2022 · 2 comments
Closed

Incomplete docs on undirected relationship in MERGE clause #13009

v-spassky opened this issue Dec 14, 2022 · 2 comments

Comments

@v-spassky
Copy link

Hello everyone! I am new to neo4j, and while reading the docs I stumbled upon these statements here:

MERGE can also be used with an undirected relationship. When it needs to create a new one, it will pick a direction.

The direction of the created relationship is arbitrary.

IMO, there is unnecessary ambiguity - why not specify the direction of the created relationship in this case? Moreover, in this course segment it is explicitly stated that the created relationship will be left to right:

... by default graph engine will create relation using left to right relation ...

I suggest mentioning this in the docs.

@stefano-ottolenghi
Copy link
Contributor

Thanks for reporting! We'll see what we can do to clear up the confusion.

@stefano-ottolenghi
Copy link
Contributor

stefano-ottolenghi commented May 29, 2023

We have now added some clarification to that section :) It will go live as soon as the manual is refreshed.
neo4j/docs-cypher#584

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants