title: Return all primary keys affected by update query
body: <p>Is it possible to retrieve all the primary keys affected by an update query? Ex:</p>
  
  <p>Table:</p>
  
  <pre><code>+-------------+---------+--------+
  |idx (PK, int)|FirstName|LastName|
  +-------------+---------+--------+
  |1            |Jane     |Smith   |
  +-------------+---------+--------+
  |2            |John     |Test    |
  +-------------+---------+--------+
  |3            |Adam     |Smith   |
  +-------------+---------+--------+
  </code></pre>
  
  <p>Query:</p>
  
  <pre><code>UPDATE clients SET [LastName] = 'Smith' WHERE [FirstName] = 'John'
  </code></pre>
  
  <p>What i want returned:</p>
  
  <blockquote>
    <p>2</p>
  </blockquote>
  
  <p>But i also want this method to work for multiple rows... Ex:</p>
  
  <p>Query:</p>
  
  <pre><code>UPDATE clients SET [FirstName] = 'test' WHERE [LastName] = 'Smith'
  </code></pre>
  
  <p>What i want returned:</p>
  
  <blockquote>
    <p>1, 3</p>
  </blockquote>