title: Quote value into Zend Framework 2
body: <p>I'm working on an application using ZF2. In my application, I have to insert many rows in a database (about 900).</p>
  
  <p>I've got a table model for this, so I first try to do :</p>
  
  <pre><code>$table-&gt;insert(array('x' =&gt; $x, 'y' =&gt; $y));
  </code></pre>
  
  <p>in my loop. This technically work, but this is so slow that I can hardly insert half of the datas before php's timeout (and I can't change the timeout).</p>
  
  <p>Then, I've decide to use a prepared statment. So I've prepared it outside of the loop, then execute it in my loop... it was even slower.</p>
  
  <p>So, I decide to stop using ZF2 tools, as they seems to be too slow to be used in my case, and i've created my own request. I'm using mysql, so i can do a single request with all my values. But I can't find any method in any of the interface to escape my values...</p>
  
  <p>Is there any way to do this ?</p>
  
  <p>Thank you for your help and sorry for my poor english.</p>