select
statements.transaction
. qb does not handle any of the transaction lifecycle for you.sharedLock
and lockForUpdate
is that a lockForUpdate
prevents other reads or selects as well as updates.noLock
will instruct your grammar to ignore any shared locks when executing the query.true
lock
method will allow you to add a custom lock directive to your query. Think of it as the raw
method for lock directives.