We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Originally posted by rsmidt May 17, 2023 I'm trying to implement a basic upsert where I want to update all fields as soon as I hit a constraint, e.g.
Users. INSERT(Users.AllColumns). MODEL(user). ON_CONFLICT(Users.ID). DO_UPDATE( SET(Users.AllColumns.SET(Users.EXCLUDED.AllColumns)), )
Unfortunately, this doesn't compile. Am I doing something wrong here? Is there maybe a better way to achieve the upsert?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Discussed in #237
Originally posted by rsmidt May 17, 2023
I'm trying to implement a basic upsert where I want to update all fields as soon as I hit a constraint, e.g.
Unfortunately, this doesn't compile. Am I doing something wrong here? Is there maybe a better way to achieve the upsert?
The text was updated successfully, but these errors were encountered: