title: ON DUPLICATE KEY UPDATE callback - MySQL
body: <p>When using:</p>
  
  <pre><code>INSERT ... ON DUPLICATE KEY UPDATE 
  </code></pre>
  
  <p>Is there a callback to tell me how many rows and what changes were made?</p>
  
  <p>I've searched everywhere but can't find any information on this at all.</p>