in reply to DBIx::Class 'select.... for update' confusion

From the docs it looks like ->first resets the resultset (causing a fresh query to storage).

poj

Replies are listed 'Best First'.
Re^2: DBIx::Class 'select.... for update' confusion
by duff (Parson) on Dec 14, 2017 at 21:57 UTC

    And more importantly, you didn't specify an order by clause, so the exact order of your search results will change over time.

      Actually in this particular case the order doesn't matter... but thanks for pointing it out!
Re^2: DBIx::Class 'select.... for update' confusion
by tomgracey (Scribe) on Dec 14, 2017 at 22:02 UTC

    Ah yes, silly me. Thanks...!