You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to merge a node, set a property if a new node was created, and set another property regardless of create or match. The cypher for this works perfectly:
MERGE (t:Thing { name: 'something' })
ON CREATE SET t.created = 'yes'
SET t.foo = 'bar'
I'm trying to merge a node, set a property if a new node was created, and set another property regardless of create or match. The cypher for this works perfectly:
However, the neo4j-core Query:
generates the cypher:
which is invalid because ON CREATE must immediately follow MERGE.
Runtime information:
Neo4j database version: 3.5.6 (Community)
neo4j-core
gem version: 9.0.0The text was updated successfully, but these errors were encountered: