title: NEO4J using an array or collection as a parameter in cypher query
body: <p>I am trying to do call a cypher query (in java) passing in parameters to do something like:</p>
  
  <pre><code>WHERE node.property IN [{param}]
  </code></pre>
  
  <p>Full example:</p>
  
  <pre><code>START person=node:persons('Name:*')
  MATCH person-&gt;[:Girl]-&gt;friend
  WHERE person.Name IN [{Names}] AND friend.Hair = 'Blond'
  RETURN person.Name, friend.Name
  </code></pre>
  
  <p>For the parameter I have tried using the following:</p>
  
  <ol>
  <li>Collection containing strings</li>
  <li>Array containing strings</li>
  <li>Delimited string like "'Joe Blow', 'Blow Joe'"</li>
  </ol>
  
  <p>I really thought the last one would work but I think the parameter is being replaced as a single string i.e. ["'Joe Blow', 'Blow Joe'"] and not ['Joe Blow', 'Blow Joe']. I proved this by passing in one value, and that worked. 
  I tried tracing through the code but got lost in scala.</p>
  
  <p>Any other options, thoughts?</p>
  
  <p>Cheers</p>