Method: Sequel::Postgres::DatasetMethods#for_share

Defined in:
lib/sequel/adapters/shared/postgres.rb

#for_shareObject

Return a cloned dataset which will use FOR SHARE to lock returned rows.



1268
1269
1270
# File 'lib/sequel/adapters/shared/postgres.rb', line 1268

def for_share
  lock_style(:share)
end