R/dbBegin__duckdb_connection.R

Defines functions dbBegin__duckdb_connection

Documented in dbBegin__duckdb_connection

#' @rdname duckdb_connection-class
#' @inheritParams DBI::dbBegin
#' @usage NULL
dbBegin__duckdb_connection <- function(conn, ...) {
  dbExecute(conn, SQL("BEGIN TRANSACTION"))
  invisible(TRUE)
}

#' @rdname duckdb_connection-class
#' @export
setMethod("dbBegin", "duckdb_connection", dbBegin__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.