deleteExperimentFromDB {maDB} | R Documentation |
deleteExperimentFromDB
deletes an experiment (dataset) from the maDB database.
deleteExperimentFromDB(con,exp.title,v=TRUE)
con |
The connection to the database (returned by the dbConnect function of the RdbiPgSQL package). |
exp.title |
The name (title) from the experiment in the database that should be deleted (to get a list of available experiments in the database use dbGetExperimentInfo ). |
v |
If TRUE additional information will be printed to the console. |
Like every function from the pgUtils and maDB packages that writes or updates values in a PostgreSQL database, this function uses transactions. The advantage of tranactions is, that the database status before running the function is automatically recreated if an error occurs during the function execution, or if the user aborts the execution.
Johannes Rainer
publishToDB
dbGetExperimentInfo