Only one insertion happens for multiple insertions
<p>Below is my code.</p>

<pre><code>&lt;?php

$f3=require(dirname(__FILE__).'/../../lib/base.php');
$f3-&gt;set('AUTOLOAD',dirname(__FILE__).'/');

$db=new DB\Jig('../data/');

$importer = new Importer($db);
$importer-&gt;import();



&lt;?php

/**
 * Imports the data from  the format that was provided
 * @author pubudu
 *
 */
class Importer
{

    public function __construct($db)
    {
        $this-&gt;db = $db;
    }

    public function import()
    {
        $user =new DB\Jig\Mapper($this-&gt;db,'user');
        $i = 0;

        for($i =0; $i&lt;100;$i++){
            $user-&gt;load(array('@userID=?',$i));

            $user-&gt;userID = $i;
            $user-&gt;password = substr(md5(uniqid()), 0, 8);
            $user-&gt;save();
            $user-&gt;reset();
        }
    }
}
</code></pre>

<p>But the code results in only one insertion happening. After running the above code, my user file looks like</p>

<pre><code>{"511d834f45214":{"userID":99,"password":"31ba5884"}}
</code></pre>

<p>Can someone point to me where I'm going wrong?
From what I found out, after the first insertion, the <code>load</code> method returns the same entry. But I'm sending different <code>userID</code> s to fetch data.</p>
