Removes the values of a table and keep the dictionary untouched. Fails if the table does not exist or is a view. See also opal.table_delete.

opal.table_truncate(opal, project, table)

Arguments

opal

Opal connection object.

project

Project name where the table is located.

table

Table name to be truncated.

Examples

if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
opal.table_truncate(o, "CNSIM", "CNSIM1")
opal.logout(o)
}