| dbRemoveTable,TrinoConnection,character-method | R Documentation |
Drop a table
## S4 method for signature 'TrinoConnection,character'
dbRemoveTable(conn, name, ...)
## S4 method for signature 'TrinoConnection,Id'
dbRemoveTable(conn, name, ...)
## S4 method for signature 'TrinoConnection,ANY'
dbRemoveTable(conn, name, ...)
conn |
A TrinoConnection object. |
name |
Table name, in any form |
... |
Unused, for compatibility with the generic. |
TRUE, invisibly.
con <- DBI::dbConnect(RTrino::Trino(), host = Sys.getenv("RTRINO_TEST_URL"),
catalog = "memory", schema = "default")
DBI::dbWriteTable(con, "sales", data.frame(id = 1:3))
DBI::dbRemoveTable(con, "sales")
DBI::dbExistsTable(con, "sales")
DBI::dbDisconnect(con)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.