Skip to content

Commit

Permalink
Use unicode on CSV file delimiters example
Browse files Browse the repository at this point in the history
Change the `--array-delimiter` example to be set using the code point
for the character `|` (the same used before, so we don't need to change
the CSV content).

This was based on a user feedback, that it was not clear from the
examples that they could have used (and how they could have used)
unicode code points to set the delimiter to arbitrary characters,
including non-printable ones.
  • Loading branch information
brunobuss committed Apr 22, 2024
1 parent 89fd6aa commit 3ab631e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/ROOT/pages/tutorial/neo4j-admin-import.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ The details of a CSV file header format can be found at xref:tools/neo4j-admin/n
The following CSV files have:

* `--delimiter=";"`
* `--array-delimiter="|"`
* `--array-delimiter="U+007C"` (`0x007C` is the Unicode code point for the character `|`)
* `--quote="'"`

.movies2.csv
Expand Down Expand Up @@ -219,7 +219,7 @@ The call to `neo4j-admin database import` would look like this:
.shell
[source]
----
bin/neo4j-admin database import full --delimiter=";" --array-delimiter="|" --quote="'" --nodes=import/movies2.csv --nodes=import/actors2.csv --relationships=import/roles2.csv neo4j
bin/neo4j-admin database import full --delimiter=";" --array-delimiter="U+007C" --quote="'" --nodes=import/movies2.csv --nodes=import/actors2.csv --relationships=import/roles2.csv neo4j
----


Expand Down

0 comments on commit 3ab631e

Please sign in to comment.