title: How to use "MATCH.. CREATE UNIQUE.." with neography
body: <p>I'm trying to write an importer script that will take a MySQL resultset and add nodes and relationships in my Neo4J DB. To simplify things, my resultset has the following fields:</p>
  
  <ul>
  <li>application_id</li>
  <li>amount</li>
  <li>application_date</li>
  <li>account_id</li>
  </ul>
  
  <p>I want to create a node with <code>Application</code> label with the <code>application_id</code>, <code>amount</code>, <code>application_date</code> fields and another node with <code>Account</code> label with <code>account_id</code> field and a relationship between them.</p>
  
  <p>My SQL query is from the applications table so I'm not afraid of dups there, but an account_id can appear more than once and I obviously don't want to create multiple nodes for that.</p>
  
  <p>I'm using neography (but willing to switch if there is something simpler). What would be the best (easiest) way to achieve that?
  My script will drop the database before it starts so no leftovers to take care of.</p>
  
  <p>Should I create an index before and use <code>create_unique_node</code>?<br>
  I think I can do what I want in cypher using "MATCH .. CRAETE UNIQUE..", what's the equivalent of that in neography? I don't understand how <code>index_name</code> gets into the equation...<br>
  Should I or should I not define the constraint on Account?</p>
  
  <p>Many thanks, 
  It's my first time with graph DBs so apologies if I miss a concept here..</p>