Learn R Programming

RPostgreSQL (version 0.7-7)

PostgreSQLDriver-class: Class PostgreSQLDriver

Description

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

Arguments

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

Run this code
if (FALSE) {
drv <- dbDriver("PostgreSQL")
con <- dbConnect(drv, dbname="template1")
}

Run the code above in your browser using DataLab