@faasjs/pg / ForUpdateOptions
Type Alias: ForUpdateOptions
ForUpdateOptions =
object
Options for a SELECT ... FOR UPDATE locking clause.
Properties
noWait?
optionalnoWait?:boolean
Fail immediately instead of waiting for a conflicting row lock.
of?
optionalof?:string| readonlystring[]
Tables or aliases whose selected rows should be locked.
skipLocked?
optionalskipLocked?:boolean
Skip rows that cannot be locked immediately.