Skip to content

"SKIP LOCKED" support (request) #8910

Closed

Description

@themetalfleece

I have noticed that sequelize does not support "SKIP LOCKED" selects.

A query example with "FOR UPDATE" and "SKIP LOCKED" would be

SELECT "id" FROM "Customers" WHERE "Customers"."AccountBalance" > 5 LIMIT 3 FOR UPDATE SKIP LOCKED;

"SKIP LOCKED" is useful for job queues.

https://www.postgresql.org/docs/9.5/static/sql-select.html#SQL-FOR-UPDATE-SHARE

Activity

  1. added
    type: feature
    dialect: postgres
    on Jan 19, 2018
  2. sushantdhiman commented on May 2, 2018

    @sushantdhiman
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dialect: postgrestype: feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions