
Last chance! 50% off unlimited learning
Sale ends in
Update schema of a table
update_schema(conn, dbname, table, schema)
Td
connection
Data base name
Table name
Schema of the table to be updated
Returns TRUE
or FALSE
, whether the execution succeeded or not.
# 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)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab