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

Add support for MySQL INSERT INTO .. SET .. syntax in MERGE statement's WHEN NOT MATCHED THEN INSERT clause #1000

Closed
lukaseder opened this issue Jul 22, 2012 · 0 comments

Comments

@lukaseder
Copy link
Member

This is not supported by any database, but for overall API consistency, for increased typesafety and for more convenience, it might be useful to be able to write

MERGE INTO ..
USING (..)
ON (..)
WHEN MATCHED THEN UPDATE SET
  f1 = v1
  f2 = v2
WHEN NOT MATCHED THEN INSERT SET
  f1 = v1
  f2 = v2
@ghost ghost assigned lukaseder Jul 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant