title: How to match all paths between two nodes with a relationship property filter?
body: <p>I am trying to perform a query to retrieve all paths between two nodes a and b in which all the paths there is a relationship property fulfilled.</p>
  <p>I have tried in many ways but I am not able to success.</p>
  <pre class="lang-sql prettyprint-override"><code>MATCH p=(o{value:&quot;a&quot;})-[r*]-(x{value:&quot;b&quot;}) 
  WHERE has(r.property) AND r.property=&quot;foo&quot; 
  RETURN p
  </code></pre>
  <p>I have changed the relationship part to <code>[r*..]</code> and many other options but not working.</p>
  <p>The function <code>shortestpath</code> does not help me because I want not only the shortest but all the possibilities.</p>
  <p>Can someone help me or tell me which is the error in the query?</p>