@@ -1462,8 +1462,9 @@ Now use the previously defined ID spaces when connecting the actors to movies.
1462
1462
[[import-tool-multiple-ids]]
1463
1463
== Using multiple node IDs
1464
1464
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`.
1467
1468
1468
1469
For each `ID` column, you can specify to store its values as different node properties.
1469
1470
However, the composite value cannot be stored as a node property.
@@ -1498,13 +1499,13 @@ Now use both IDs when defining the relationship:
1498
1499
.relationships_header.csv
1499
1500
[source, csv]
1500
1501
----
1501
- :START_ID,:TYPE,:END_ID
1502
+ :START_ID,:START_ID,: TYPE,:END_ID ,:END_ID
1502
1503
----
1503
1504
1504
1505
.relationships.csv
1505
1506
[source, csv]
1506
1507
----
1507
- aa11, WORKS_WITH,bb22
1508
+ aa,11, WORKS_WITH,bb,22
1508
1509
----
1509
1510
====
1510
1511
@@ -1532,13 +1533,13 @@ Now use the defined ID space when connecting John with Paul, and use both IDs in
1532
1533
.relationships_header.csv
1533
1534
[source, csv]
1534
1535
----
1535
- :START_ID(MyGroup),:TYPE,:END_ID(MyGroup)
1536
+ :START_ID(MyGroup),:START_ID(MyGroup),: TYPE,:END_ID(MyGroup) ,:END_ID(MyGroup)
1536
1537
----
1537
1538
1538
1539
.relationships.csv
1539
1540
[source, csv]
1540
1541
----
1541
- aa11, WORKS_WITH,bb22
1542
+ aa,11, WORKS_WITH,bb,22
1542
1543
----
1543
1544
====
1544
1545
0 commit comments