-
Notifications
You must be signed in to change notification settings - Fork 21
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
Merge look at ON Conflict #22
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@BuzzCutNorman The API is a WIP, and
generate_insert_statement
is currently expected to return an insert statement as a string. I have not surveyed different databases for upsert methods, but I think most should be able to extent the basicINSERT INTO <table> (<columns...>) VALUES (...)
with something likeON CONFLICT (<pk...>) DO UPDATE SET ...
. So, the overriding pattern could look something like:Wdyt?
Originally posted by @edgarrmondragon in #9 (comment)
The text was updated successfully, but these errors were encountered: