PostgreSQLDriver-class: Class PostgreSQLDriver

PostgreSQLDriver-classR Documentation

Class PostgreSQLDriver

Description

An PostgreSQL driver implementing the R/S-Plus database (DBI) API.

Generators

The main generators are dbDriver and PostgreSQL.

Extends

Class "DBIDriver", directly. Class "PostgreSQLObject", directly. Class "DBIObject", by class "DBIDriver". Class "dbObjectId", by class "PostgreSQLObject".

Methods

coerce

signature(from = "PostgreSQLObject", to = "PostgreSQLDriver"): ...

dbConnect

signature(drv = "PostgreSQLDriver"): ...

dbGetInfo

signature(dbObj = "PostgreSQLDriver"): ...

dbListConnections

signature(drv = "PostgreSQLDriver"): ...

dbUnloadDriver

signature(drv = "PostgreSQLDriver"): ...

summary

signature(object = "PostgreSQLDriver"): ...

References

See the Database Interface definition document DBI.pdf in the base directory of this package or https://developer.r-project.org/db/.

See Also

DBI base classes:

DBIObject-class DBIDriver-class DBIConnection-class DBIResult-class

PostgreSQL classes:

PostgreSQLObject-class PostgreSQLDriver-class PostgreSQLConnection-class PostgreSQLResult-class

Examples

## Not run: 
drv <- dbDriver("PostgreSQL")
con <- dbConnect(drv, dbname="template1")

## End(Not run)

RPostgreSQL documentation built on Oct. 4, 2024, 1:13 a.m.