Skip to contents

This function specifically deletes the workflows from the wflow_tbl.

Usage

rpwf_db_del_wflow(id, db_con)

Arguments

id

numeric vector of workflow ids to be removed.

db_con

an rpwf_connect_db() object.

Value

Called for the side effect.

Examples

# Delete workflows with id from 1 to 99 of the database defined by `con`
board <- pins::board_temp()
tmp_dir <- tempdir()
db_con <- rpwf_connect_db(paste(tmp_dir, "db.SQLite", sep = "/"), board)
rpwf_db_del_wflow(1:99, db_con)
#> [1] 0