Execute UPDATE query

update(conn, ...)

# S3 method for MariaDBConnection
update(conn, ..., quiet = FALSE)

Arguments

conn

DB connection object.

...

UPDATE query and optional parameters.

quiet

Boolean flag to hide status messages.

See also

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

Examples

if (FALSE) {
conn <- open_conn_mysql("sys", "root")
out <- update(conn, "UPDATE sys_config SET value = 1")
close_conn(conn)
}