Closed Cassandra-d closed 12 years ago
Query:
$queryString = "START n=node({start}) ". "MATCH (n)<-[:KNOWS]-(x)". "WHERE x.name = {name}". "RETURN x"; $query = new Everyman\Neo4j\Cypher\Query($client, $queryString, array('start' => 1, 'name' => 'Bob')); $result = $query->getResultSet();
Error:
[message] => reserved keyword "START n=node({start}) MATCH (n)<-[:KNOWS]-(x)WHERE x.name = {name}RETURN x" ^
Arrow must point to first } symbol near "start".
Thanks for finding this. Fixed
Query:
Error:
Arrow must point to first } symbol near "start".