title: How to return a specific string instead of (no changes, no records) in Cypher query
body: <p>my query below returns &quot;Success&quot; string if node n successfully matched.
  In case it was not matched, the output is &quot;(no changes, no records)&quot; while I expect the query to return &quot;Failure&quot; string.
  I guess this is to do with node n not existing and therefore
  'with value.rslt' is also not existing which returns nothing.
  How can I get &quot;Failure&quot; return in case node n not matched?
  Thank you</p>
  <pre><code>match(n:device) where n.nid = 'non-existing'
  CALL apoc.do.case(
  [
   n is not null, &quot;return 'Success' as rslt&quot;
  ], 
  &quot;return 'Failure' as rslt&quot;,
  {n:n}
  ) yield value
  with  value.rslt  as rslt 
  return rslt
  </code></pre>