Learn R Programming

RPostgreSQL (version 0.3-3)

PostgreSQLConnection-class: Class PostgreSQLConnection

Description

PostgreSQLConnection class.

Arguments

Generators

The method dbConnect is the main generator.

Extends

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

References

See the Database Interface definition document DBI.pdf in the base directory of this package or http://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
drv <- dbDriver("PostgreSQL)
con <- dbConnect(drv, dbname = "template1")

Run the code above in your browser using DataLab