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

update doesn't work with Experimental syntax #251

Open
Tracked by #306
parsonsmatt opened this issue May 11, 2021 · 1 comment
Open
Tracked by #306

update doesn't work with Experimental syntax #251

parsonsmatt opened this issue May 11, 2021 · 1 comment

Comments

@parsonsmatt
Copy link
Collaborator

update does not work with the new Experimental syntax, even though it probably should!

Unfortunately, support for fancier updates differs across backends. MySQL and Postgresql differ, and SQLite appears to mirror Postgres.

As an example, MySQL allows you to specify updates on a bunch of tables in the FROM clause, while the other two engines require a single table to be updated (but other tables can be mentioned in the FROM for filtering).

@belevy
Copy link
Collaborator

belevy commented May 13, 2021

This is something I was playing around with at the end of last year. It honestly is probably best to just only support ANSI SQL updates in the main module and all the individual modules can support their own version of update that allows JOINs

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

No branches or pull requests

2 participants