delete_rows_in_table: Remove records in a table

Description Usage Arguments Value

View source: R/write.R

Description

Remove records in a table

Usage

1
delete_rows_in_table(src, tbl_name, rows, guard = TRUE, preview = TRUE)

Arguments

src

a dplyr-managed database connection or a MySQLConnection

tbl_name

the name of the table to modify

rows

a data-frame of rows to remove

guard

whether to prevent the delete statement (the default) if it would delete all rows in the table

preview

whether the table-modifying query should be performed or just previewed

Value

TRUE if the query succeeded or if the preview worked without errors.


LearningToTalk/L2TDatabase documentation built on June 24, 2020, 3:45 a.m.