title: Neo4j delete a node and return the deleted node
body: <p>Christmas everyone, </p>
  
  <p>I have a simple question. I want to delete a node with/without relationships in Neo4j and return the deleted node and/or its specific property. Something in the following lines (below doesn't work)</p>
  
  <pre><code>MATCH(j:JOB) where j.job_id= "1" DELETE j, return j;  
  </code></pre>
  
  <p>I can do the above task in two different requests, query the node that is to be deleted and then delete it but, I want to know whether it is possible to do it in single statement. </p>
  
  <p>I wonder if there is a way to store the node in a different placehoder and then delete the node and return the placeholder. I am new to Neo4j, need suggestions. </p>
  
  <p><strong>I have come across this <a href="https://stackoverflow.com/questions/18741000/return-value-after-deleting-node-or-relationship-in-neo4j">post</a> which is old and I could not get it work with my version of Neo4j.</strong> I use Neo4j 2.3.1 </p>