neo4j删除标签,无效输入-

c86crjj0  于 2023-04-20  发布在  其他
关注(0)|答案(1)|浏览(179)

在neo4j浏览器中,我尝试执行以下命令:

match(n:DATA_CATEGORY_TYPE) remove n:client-18d1b5fb-c7b5-4769-9b75-363ec596b012 return n

我得到以下错误:

Invalid input '-': expected
  ","
  "CALL"
  "CREATE"
  "DELETE"
  "DETACH"
  "FOREACH"
  "LOAD"
  "MATCH"
  "MERGE"
  "OPTIONAL"
  "REMOVE"
  "RETURN"
  "SET"
  "UNION"
  "UNWIND"
  "USE"
  "WITH"
  <EOF> (line 1, column 44 (offset: 43))
"match(n:DATA_CATEGORY_TYPE) remove n:client-18d1b5fb-c7b5-4769-9b75-363ec596b012 return n"

标签中的“-”的使用有问题,但无法更改。如何处理此错误?

wgx48brx

wgx48brx1#

在标签上打反勾,像这样,

match(n:DATA_CATEGORY_TYPE) remove n:`client-18d1b5fb-c7b5-4769-9b75-363ec596b012` return n

相关问题