Syntax Error during cypher query neo4j -
neo4j-sh start person=node(*) match person-[:has_stored]-> contact-[:has_number]-> (p{tn:"455"}) return contact;
==> syntaxexception: properties on pattern elements not allowed in match.
==>
==> think should have better error message here? sending query cypher@neo4j.org
.
==> thank you, neo4j team.
==>
==> "start person=node(*) match person-[:has_stored]-> contact-[:has_number]->(phone{tn:"455"}) return contact"
==> ^
what error means?
what other way this??
are trying do:
start person=node(*) match person-[:has_stored]->contact-[:has_number]->(p) p.tn="455" return contact;
if you're looking speed, index lookup in start
:
start p=node:node_auto_index(tn="455") match person-[:has_stored]->contact-[:has_number]->p return contact;
Comments
Post a Comment