DBIConnection-class

0th

Percentile

DBIConnection class.

This virtual class encapsulates the connection to a DBMS, and it provides access to dynamic queries, result sets, DBMS session management (transactions), etc.

Usage
"show"(object)
Arguments
object
Object to display
Implementation note

Individual drivers are free to implement single or multiple simultaneous connections.

See Also

Other DBI classes: DBIDriver-class, DBIObject-class, DBIResult-class

Aliases
  • DBIConnection-class
  • show,DBIConnection-method
Examples
## Not run: 
# con <- dbConnect(RSQLite::SQLite(), ":memory:")
# dbDisconnect(con)
# 
# con <- dbConnect(RPostgreSQL::PostgreSQL(), "username", "passsword")
# dbDisconnect(con)
# ## End(Not run)
Documentation reproduced from package DBI, version 0.4-1, License: LGPL (>= 2)

Community examples

Looks like there are no examples yet.