jet icon indicating copy to clipboard operation
jet copied to clipboard

LIMIT ... for UPDATE statements

Open galexrt opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe.

There does not seem to be LIMIT ... available for UPDATE statements. Is this intentional or is this something that could be added in the future?

Describe the solution you'd like

Being able to specify LIMIT ... on UPDATE statements to limit the updated rows.

galexrt avatar Jan 29 '25 18:01 galexrt

It's not intentional. Agree, we could add a LIMIT clause to UPDATE statement.

go-jet avatar Jan 30 '25 18:01 go-jet

I'll take a look into it.

jamius19 avatar Feb 01 '25 05:02 jamius19

@galexrt @jamius19 I have opened #452 for this, Postgres by nature doesn't really support limit - so not quite sure how to tackle that. But I have added UPDATE with LIMIT support to MySQL

Hasaber8 avatar Feb 09 '25 00:02 Hasaber8