Deletes a row from a table based on primary keys.

delete_entry(con = NULL, tbl = NULL, ...)

Arguments

con

DBI connection object.

tbl

Name of the target table.

...

Named primary key column-value pairs for the row to delete.

Value

None.

Examples

if (FALSE) { # \dontrun{
con <- DBI::dbConnect(RSQLite::SQLite(), ":memory:")
delete_entry(con, "my_table", id = 1)
} # }