update_schema {RTD} | R Documentation |
Update schema of a table
Description
Update schema of a table
Usage
update_schema(conn, dbname, table, schema)
Arguments
conn |
|
dbname |
Data base name |
table |
Table name |
schema |
Schema of the table to be updated |
Value
Returns TRUE
or FALSE
, whether the execution succeeded or not.
Examples
## Not run:
conn <- Td(apikey = "xxxxx")
s <- rbind(
c("sepal_length", "double", "sepal_length"),
c("sepal_width", "double", "sepal_width"),
c("petal_length", "double", "petal_length"),
c("petal_width", "double", "petal_width"),
c("species", "string", "species"))
udpate_schema(conn, "mydb", "iris", s)
## End(Not run)
[Package RTD version 0.4.1 Index]