-
Notifications
You must be signed in to change notification settings - Fork 346
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
Support MySql 5.7 delete queries #2703
Comments
I have same issue - is there is a way to workaround it using |
me too. #2540 did not solve the problem. |
I've hit this issue on MariaDB 10 too. For those looking for a work-around, the following (snipped from SQLServerDialect) seems to do the trick:
Of course you'll have to copy & adapt your specific context too to use the new dialect. |
Solved in #2704 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: 4.6.0
Module: quill-jdbc
Database: mysql
Expected behavior
Delete queries should produce SQL accepted by MySql 5.7
Actual behavior
Delete queries use Table Aliases, which are unsupported by MySql 5.7.
Steps to reproduce the behavior
https://scastie.scala-lang.org/y4KUdZk3SLKtYkktHgJ3UA
Should be
DELETE FROM person WHERE name = 'John'
Workaround
The text was updated successfully, but these errors were encountered: