update_schema: Update schema of a table

Description Usage Arguments Value Examples

View source: R/table.R

Description

Update schema of a table

Usage

1
update_schema(conn, dbname, table, schema)

Arguments

conn

Td connection

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

 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)

RTD documentation built on July 27, 2020, 1:17 a.m.