neo4jphp icon indicating copy to clipboard operation
neo4jphp copied to clipboard

problem with setLabels with version 3.3

Open vstruchkov opened this issue 7 years ago • 0 comments

To prevent error "Internal error - should have used fall back to execute query, but something went horribly wrong" after setLabels command replace string (51) at Everyman/Neo4j/Command/SetLabels.php $query = "START n=node({nodeId}) {$setCommand} n :{$labelSet} RETURN labels(n) AS labels";

with

$query="MATCH (n) WHERE id(n)={nodeId} {$setCommand} n :{$labelSet} RETURN labels(n) AS labels";

vstruchkov avatar May 17 '17 18:05 vstruchkov