Skip to content
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

fix(3554) Emit valid SQL for noWait flag #3555

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jelder
Copy link

@jelder jelder commented Nov 14, 2024

Fixes #3554 for PostgreSQL and MySQL. Both databases seem to have chosen to spell "no wait" and "skip locked" flags as one word and two words respectively.

https://dev.mysql.com/doc/refman/8.4/en/innodb-locking-reads.html

https://www.postgresql.org/docs/16/sql-select.html#:~:text=The%20locking%20clause%20has,%5B%2C%20...%5D%20%5D%20%5B%20NOWAIT%20%7C%20SKIP%20LOCKED%20%5D

@jelder jelder changed the title fix(3554) Correct spelling of nowait flag fix(3554) Emit valid SQL for noWait flag Nov 15, 2024
@jmpavlick
Copy link

Would be really great to see this go in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: for("update", { noWait: true }) yields invalid SQL: syntax error at or near "no"
2 participants