| db_copy_to.TrinoConnection | R Documentation |
copy_to() for TrinoOverrides dbplyr's default, which wraps the write in a transaction
(dbBegin()). Whether that transaction
could actually be rolled back depends on the catalog's connector, and
CREATE TABLE itself is not something most connectors undo, so the
write goes straight to dbWriteTable() instead, which already has its
own way of playing it safe on overwrite = TRUE. temporary defaults
to TRUE, as in the generic, which means the call fails unless the
caller passes temporary = FALSE: Trino has no temporary tables.
db_copy_to.TrinoConnection(
con,
table,
values,
...,
overwrite = FALSE,
types = NULL,
temporary = TRUE,
unique_indexes = NULL,
indexes = NULL,
analyze = TRUE,
in_transaction = TRUE
)
con |
A TrinoConnection object. |
table, values, overwrite, types, temporary |
Passed to |
unique_indexes, indexes, analyze, in_transaction, ... |
Unused, for compatibility with the generic. |
table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.