title: Meging two collections using Neo4j
body: <p>Cypher query with two collections:</p>
  
  <pre><code>match (customer:CUSTOMER)-[r3:ADDRESS]-&gt;(addr:ADDRESS) 
  with customer, doc, collect(addr) as addresses, collect(r3) as addr_prop
  </code></pre>
  
  <p>An example of the query result:</p>
  
  <p>customer: {sss: 1123456}</p>
  
  <p>addresses: [{street: A, number: B}, {street: C, number: D}]</p>
  
  <p>addr_prop: [{last_update: 20160102}, {last_update: 20160112} ]</p>
  
  <p>So I would like to have:</p>
  
  <p>customer: {sss: 1123456}</p>
  
  <p>addresses: [{street: A, number: B, last_update: 20160102}, {street: C, number: D, last_update: 20160112}]</p>