powered by
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)
Opal connection object.
Project name where the table is located.
Table name to be truncated.
# NOT RUN { o <- opal.login('administrator','password', url='https://opal-demo.obiba.org') opal.table_truncate(o, "CNSIM", "CNSIM1") opal.logout(o) # }
Run the code above in your browser using DataLab