title: Laravel how many rows inserted in an insert query?
body: <p>I have this query eloquent in <code>Laravel</code>, I was curious to know. If there is a way to know how many records inserted or how many records ignored to the table?</p>
  <pre><code>DB::table('mytable')-&gt;insertOrIgnore($data)
  </code></pre>
  <p>Note: One of the manual ways can be, counting records of table before and after process. but this has performance effect, if there be any better way achieving this.</p>