-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
SQL syntax error on DeleteAll() #155
Comments
Probably relevant, running against MySQL 5.6 |
Well look at this this weekend. Thanks for the report. |
Looked into this. Pondering a fix. What's going on is the Relationship method creates a select query that's good for selecting with, then turns it into a delete query when it hits |
Fixed on dev branch. I decided that we don't exactly need to use aliasing so long as we're consistent in other places. Output of a similar program to yours on the dev branch, please let me know if your issue is resolved.
|
@aarondl thank you I can confirm this fixes the issue |
Released. |
SQLBoiler v2.4.0
I have two models,
User
andInvestment
which are connected by a 1-many relationship.When running the following code
it results in the following error
When I change the delete line to
all passes with this output
The text was updated successfully, but these errors were encountered: