Is there any way to ingest data with backslash (\) character into Neo4j without replacing it with double backslash (\\)
Asked
Active
Viewed 1,708 times
1
-
Is it OK to change your input string some other way, or do you want to avoid changing it in any way? – cybersam Dec 21 '17 at 18:02
1 Answers
0
The \
is the escape character in Neo4j, so if you want use it as a character you need to escape it by double it, ie \\
.
There is no way to avoid this...
But, it can be totally transparent for you if you use a parameterized query : Neo4j's driver will escape all specific characters of yours parameters

logisima
- 7,340
- 1
- 18
- 31