R/dbCommit__duckdb_connection.R

Defines functions dbCommit__duckdb_connection

Documented in dbCommit__duckdb_connection

#' @rdname duckdb_connection-class
#' @inheritParams DBI::dbCommit
#' @usage NULL
dbCommit__duckdb_connection <- function(conn, ...) {
  dbExecute(conn, SQL("COMMIT"))
  invisible(TRUE)
}

#' @rdname duckdb_connection-class
#' @export
setMethod("dbCommit", "duckdb_connection", dbCommit__duckdb_connection)

Try the duckdb package in your browser

Any scripts or data that you put into this service are public.

duckdb documentation built on Oct. 30, 2024, 5:06 p.m.