Skip to content

Support [for update,for share] in SELECT DSL #902

Closed
@luckygc

Description

@luckygc
select(MyTable.allColumns())
    .from(MyTable)
    .where(MyTable.id, isEqualTo(1))
    .forUpdate();

select(MyTable.allColumns())
    .from(MyTable)
    .where(MyTable.id, isEqualTo(1))
    .forUpdate()
    .skipLocked();

select(MyTable.allColumns())
    .from(MyTable)
    .where(MyTable.id, isEqualTo(1))
    .forShare();

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions