Skip to content

Add tabbed examples for multiple node IDs #2512

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

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

NataliaIvakina
Copy link
Collaborator

No description provided.

@neo4j-docops-agent
Copy link
Collaborator

This PR includes documentation updates
View the updated docs at https://neo4j-docs-operations-2512.surge.sh

Updated pages:

@@ -1464,39 +1464,64 @@ Now use the previously defined ID spaces when connecting the actors to movies.
== Using multiple node IDs

A node header can contain multiple `ID` columns.
The relationship data must then use a matching number of `START_ID` / `END_ID` columns as references to the composite value of those ID columns.

Starting from 2025.07, the relationship data must then use a matching number of `START_ID` / `END_ID` columns as references to the composite value of those ID columns.
Copy link
Collaborator Author

@NataliaIvakina NataliaIvakina Jul 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this true? If I read the comments for the https://github.com/neo-technology/neo4j/pull/31617 correctly, it is still allowed to use a single :START_ID/:END_ID to refer to a composite ID.

But it is not allowed to mix how to refer to composite IDs. Either all references must use a single :START_ID/:END_ID columns, or a matching amount.

I think this should be reflected on this page too.

+
[.tabbed-example]
=====
[role=include-with-multiple-node-IDs]
Copy link
Collaborator Author

@NataliaIvakina NataliaIvakina Jul 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like these headings. It was a super quick decision.

In fact, the first tab is on how to use a single :START_ID/:END_ID column, and the second one is for matching number of those columns.
Suggestions:
The first tab -- Using single ID column for composite IDs
The second tab -- Using multiple ID columns for composite IDs

[role=include-with-multiple-ID-columns label--new-2025.07]
======

Starting from 2025.07, you have to use a matching number of `START_ID` / `END_ID` columns when defining the relationship:
Copy link
Collaborator Author

@NataliaIvakina NataliaIvakina Jul 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Starting from 2025.07, you have to use a matching number of `START_ID` / `END_ID` columns when defining the relationship:
Starting from 2025.07, you can use a matching number of `START_ID` / `END_ID` columns when defining the relationship.
However, do not mix how to refer to composite IDs.
Either all references must use a single `START_ID` / `END_ID` column or a matching number of them.

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

Successfully merging this pull request may close these issues.

2 participants