<p>This is rather inflexible, since there exist other lock modes, e.g. <code>FOR SHARE</code>. In DBIx::Class there's the <a href="https://metacpan.org/pod/DBIx::Class::ResultSet#for"><code>for</code></a> resultset attribute, but SQL::Abstract doesn't have a general way of passing options to the methods.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/dbsrgits/sql-abstract/pull/5#issuecomment-99853131">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeApXali2n8GDebAr8Qnf7-EI3HmTuks5oG1dogaJpZM4ERjxS.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/dbsrgits/sql-abstract/pull/5#issuecomment-99853131"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>