@@ -1462,8 +1462,9 @@ Now use the previously defined ID spaces when connecting the actors to movies.
14621462[[import-tool-multiple-ids]]
14631463== Using multiple node IDs
14641464
1465- A node header can also contain multiple `ID` columns, where the relationship data references the composite value of all those columns.
1466- This also implies using `string` as `id-type`.
1465+ A node header can contain multiple `ID` columns.
1466+ 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.
1467+ This implies using `string` as `id-type`.
14671468
14681469For each `ID` column, you can specify to store its values as different node properties.
14691470However, the composite value cannot be stored as a node property.
@@ -1498,13 +1499,13 @@ Now use both IDs when defining the relationship:
14981499.relationships_header.csv
14991500[source, csv]
15001501----
1501- :START_ID,:TYPE,:END_ID
1502+ :START_ID,:START_ID,: TYPE,:END_ID ,:END_ID
15021503----
15031504
15041505.relationships.csv
15051506[source, csv]
15061507----
1507- aa11, WORKS_WITH,bb22
1508+ aa,11, WORKS_WITH,bb,22
15081509----
15091510====
15101511
@@ -1532,13 +1533,13 @@ Now use the defined ID space when connecting John with Paul, and use both IDs in
15321533.relationships_header.csv
15331534[source, csv]
15341535----
1535- :START_ID(MyGroup),:TYPE,:END_ID(MyGroup)
1536+ :START_ID(MyGroup),:START_ID(MyGroup),: TYPE,:END_ID(MyGroup) ,:END_ID(MyGroup)
15361537----
15371538
15381539.relationships.csv
15391540[source, csv]
15401541----
1541- aa11, WORKS_WITH,bb22
1542+ aa,11, WORKS_WITH,bb,22
15421543----
15431544====
15441545
0 commit comments