for package:opaleye

Adds a FOR UPDATE clause to the Select. Postgres has strong restrictions regarding the SELECT clauses to which a FOR UPDATE can be added. Opaleye makes no attempt to enforce those restrictions through its type system so it's very easy to create queries that fail at run time using this operation.
Fold over a chunk of rows, calling the supplied fold-like function on each row as it is received. In case the cursor is exhausted, a Left value is returned, otherwise a Right value is returned.