Christmas of all
I have a simple question. I want to remove a node with / without relationships in Neo4j and return the remote node and / or its specific property. Something in the following lines (below does not work)
MATCH(j:JOB) where j.job_id= "1" DELETE j, return j;
I can accomplish the above task in two different queries, request the node to be deleted, and then delete it, but I want to know if this can be done in one expression.
I wonder if there is a way to save the node in another placehoder and then remove the node and return the placeholder. I'm new to Neo4j, you need suggestions.
I came across this post , which is old, and I could not get it to work with my version of Neo4j. I am using Neo4j 2.3.1
source
share