-
Notifications
You must be signed in to change notification settings - Fork 82
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
Upsert on conflict - Alias instead of exclude #143
Comments
When i remove the .WhenMatched() it seems to work? Then it produces the following SQL:
Any ideas why this is? |
Anyone? |
It seems that you should use another version of method. see..
Try this
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I currently have a problem with Upsert not updating my entries in database.
Above generates following:
That query will run without any errors but the AccessId in database won't be updated.
If i instead manually change the SQL to:
It works as intended.
Anyone have any idea what could be the problem here? I run .net 7, latest upsert package, postgresql 14.
The text was updated successfully, but these errors were encountered: