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

Support DuckDB in rows_insert(), rows_update() and rows_delete() #617

Merged
merged 4 commits into from
Sep 16, 2021

Conversation

mgirlich
Copy link
Contributor

@mgirlich mgirlich commented Sep 16, 2021

Supporting DuckDB in these three functions seems to be pretty easy. Unfortunately, DuckDB doesn't seem to support RETURNING. At least I didn't find in the documentation and got nothing back when I tried it out at first.

I guess that we could also remove sql_rows_update.tbl_SQLiteConnection() and let SQLite simply use sql_rows_update.tbl_sql(). What do you think?

Copy link
Collaborator

@krlmlr krlmlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Yeah, the fewer specialized methods we have the better.

R/rows-db.R Outdated Show resolved Hide resolved
R/rows-db.R Show resolved Hide resolved
@krlmlr
Copy link
Collaborator

krlmlr commented Sep 16, 2021

Is there an existing DuckDB issue regarding support for RETURNING ?

CC @hannesmuehleisen.

Co-authored-by: Kirill Müller <krlmlr@users.noreply.github.com>
Copy link
Collaborator

@krlmlr krlmlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@krlmlr krlmlr merged commit f01cfda into cynkra:main Sep 16, 2021
@mgirlich
Copy link
Contributor Author

Is there an existing DuckDB issue regarding support for RETURNING ?

CC @hannesmuehleisen.

I didn't find an issue yet and therefore created one: duckdb/duckdb#2291.

@mgirlich mgirlich deleted the support-duck-db branch September 17, 2021 06:54
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants