title: How to use Eloquent fluent syntax to update records after joining?
body: <p>I am trying to use fluent syntax with eloquent to achieve the same results as the below SQL query would achieve.</p>
  
  <pre><code>UPDATE t
  SET t.completed = t.completed + 1
  FROM  [groups] AS g
  INNER JOIN [quotas] AS t ON t.qid = g.qid
  WHERE g.iid = 12234
  </code></pre>
  
  <p>The <code>groups</code> table has a model called <code>group</code>. Also, the <code>quotas</code> table has a model called <code>quota</code></p>
  
  <p>What is the correct way to join the two model and increment the <code>quota.completed</code> property?</p>
  
  <p>Note, each model point to a different database.</p>