Neo4j how to handle special characters like ” \ in Cypher statements

后端 未结 2 1703
-上瘾入骨i
-上瘾入骨i 2020-12-21 05:15

I am using py2neo to load JSON data into Neo4j as chyper statements. My problem is that sometimes there are signs as “ ‘ \\ etc in the strings I want to impor

2条回答
  •  [愿得一人]
    2020-12-21 05:42

    I would suggest to use parameters, then the cypher parser doesn't see them.

    And it's just an name -> string you pass via a dictionary to the execute method.

提交回复
热议问题