Description Usage Arguments Value Examples
Update schema of a table
1 | update_schema(conn, dbname, table, schema)
|
conn |
|
dbname |
Data base name |
table |
Table name |
schema |
Schema of the table to be updated |
Returns TRUE
or FALSE
, whether the execution succeeded or not.
1 2 3 4 5 6 7 8 9 10 11 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.