-
Notifications
You must be signed in to change notification settings - Fork 882
Unable to pass in variable for limit in update queries #2131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Jille
added a commit
to Jille/sqlc
that referenced
this issue
Jun 24, 2023
PostgreSQL doesn't support UPDATE-LIMIT issue sqlc-dev#2131
Kyle added this to the milestone, and I'd like to have the next release, so I wrote a PR :P @SnoozeThis #2365 -> close |
I don't have privileges to execute this action. Please install the SnoozeThis GitHub app (https://github.com/apps/snoozethis). |
(https://snoozeth.is/j3WmMD-oYu4) I will wait until #2365 is closed and then add a comment. |
kyleconroy
pushed a commit
that referenced
this issue
Jun 27, 2023
PostgreSQL doesn't support UPDATE-LIMIT issue #2131
Resolved. |
andrewmbenton
pushed a commit
that referenced
this issue
Jun 27, 2023
PostgreSQL doesn't support UPDATE-LIMIT issue #2131
Thank you @kyleconroy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
1.16.0
What happened?
I want to allow my application to limit how many records get updated but SQLC does not expose it in the code. I don't have the option to use a subquery with a limit (the code generation works) due to my MySQL version.
Relevant log output
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/732de1ddc031aba2c5bfce20367a16435eedd43745324af4249b2b6803862430
What operating system are you using?
macOS
What database engines are you using?
MySQL
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: