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

Cross-DB update-or-insert support (SQL2003 MERGE statement) #1272

Closed
icefoxen opened this Issue Oct 23, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@icefoxen

icefoxen commented Oct 23, 2017

This is a wishlist item.

Would it be possible to support an update-or-insert operation in a way that's portable across databases? The Postgres driver already has upsert(), is it possible/feasible/desirable to extend this to all drivers, and translate it into either the database-specific version of it or into a slower-but-portable version?

Thank you!

@sgrif

This comment has been minimized.

Member

sgrif commented Oct 27, 2017

I believe you are looking for replace_into (which was insert_or_replace in 0.16)

@sgrif sgrif closed this Oct 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment