Knex: Can you do a then after an update?
<p>Using Knex, I'd like to do an update and then perform some other action, preferably using the results from the update. The following did not appear to put anything in the console.</p>

<pre><code>db('challenges').where('challenged', '=', challengedName)
  .update( {
    userA: chal[0].challenged,
    userB: chal[0].challenger
  })
  .then(function(dosomething) {
    console.log("You can do a then after an update");
    console.dir(dosomething);
  })
  .catch(function(error) {
    console.error(error)
  })
</code></pre>

<p>The update worked as I looked in the DB and the results I expect are there. I'm not sure why the console.* aren't firing though.</p>