title: Neo4j Php Transaction Create makes duplicates
body: <p>Im indexing on Neo4j my countries</p>
  
  <p>(Select * from Country) => 3 output (Turkey, Cyprus and England)</p>
  
  <p>and on my php code im creating them on Neo4j</p>
  
  <pre><code> $transaction = $this-&gt;neo-&gt;beginTransaction();
          foreach(Country::find() as $key =&gt; $val)
          {
  
  
  
                      $querya = new Everyman\Neo4j\Cypher\Query($this-&gt;neo, "CREATE (country:Country { pid:".$val-&gt;id.",name : '".$val-&gt;name."'})");
  
                      $result = $transaction-&gt;addStatements(array($querya));
  
  
  
  
  
  
          }
  
          $transaction-&gt;commit();
  </code></pre>
  
  <p>But on explorer i saw there are 6 index; 2 Turkey, 2.. , 2.. . </p>
  
  <p>Where i'm doing mistake ? </p>
  
  <p>Thanks</p>