R/PqDriver.R

Defines functions Postgres

Documented in Postgres

#' Postgres driver
#'
#' @export
#' @useDynLib RPostgres, .registration = TRUE
#' @import methods DBI
Postgres <- function() {
  new("PqDriver")
}

#' PqDriver and methods.
#'
#' @export
#' @keywords internal
setClass("PqDriver", contains = "DBIDriver")

# Set during installation time for the correct library
PACKAGE_VERSION <- utils::packageVersion(utils::packageName())

Try the RPostgres package in your browser

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

RPostgres documentation built on Oct. 23, 2023, 1:06 a.m.