title: Can Doctrine DBAL do batch inserts?
body: <p>Is it possible to do batch inserts using Doctrine DBAL against a SQLite DB? i.e make the following more efficient:</p>
  
  <pre><code>$twitter = new TwitterAPIExchange($twitterAuth);
      $response = json_decode($twitter-&gt;setGetfield($getField)
          -&gt;buildOauth($url, $requestMethod)
          -&gt;performRequest());
  
      foreach($response-&gt;statuses as $r) {
          $statement = $app['db']-&gt;executeQuery('SELECT * FROM tweets WHERE twitter_id = ?', array($r-&gt;id));
          $tweet = $statement-&gt;fetch();
  
          if(empty($tweet)) {
              $app['db']-&gt;insert('tweets', array('twitter_id'=&gt;$r-&gt;id, 'contents' =&gt; $r-&gt;text, 'timestamp' =&gt; $r-&gt;created_at));
          }
      }
  </code></pre>