db.write_table | R Documentation |
Wrapper function to write data to table in default or custom
schema. Returns TRUE
if successful, FALSE
otherwise.
db.write_table( con, data, table, schema = NA, append_only = FALSE, drop_overwrite = NA )
con |
An object that inherits from
|
data |
A |
table |
A character string specifying the DBMS table name. |
schema |
A character string specifying the schema in which the table is nested. |
append_only |
A logical specifying whether the operation is
|
drop_overwrite |
A logical specifying whether the operation is
|
Returns TRUE
if the SQL query executes successfully,
FALSE
otherwise.
connection <- connect_sqlite(auto_disconnect = FALSE) db.write_table(con = connection, table = 'iris', data = iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.