delete {dabr}R Documentation

Execute DELETE query

Description

Execute DELETE query

Usage

delete(conn, ...)

## S3 method for class 'MariaDBConnection'
delete(conn, ..., quiet = FALSE)

Arguments

conn

DB connection object.

...

DELETE query and optional parameters.

quiet

Boolean flag to hide status messages.

See Also

Other DB functions: close_conn(), insert(), list_tables(), open_conn_mysql(), select_all(), select(), update()

Examples

## Not run: 
conn <- open_conn_mysql("sys", "root")
out <- delete(conn, "DELETE sys_config SET value = 1")
close_conn(conn)

## End(Not run)

[Package dabr version 0.0.3 Index]