簡體   English   中英

無法在Neo4j JAVA中執行密碼匹配查詢

[英]Can't execute cypher match queries in Neo4j JAVA

我正在嘗試使用ExecuteEngine執行以下查詢:

ExecutionResult result = engine.execute("match n-[:MOVE_TO]->(x) where n.name = \"-999622097\" return x");

但是我得到這個錯誤:

預期的START或CREATE

有什么方法可以在JAVA中執行MATCH查詢? 不使用START?

TK!

您的查詢缺少n周圍的括號。 嘗試這個:

MATCH (n:Person)-[:MOVE_TO]->(x) WHERE n.name ="-999622097" RETURN x

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM