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.

Implementation note

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

See Also

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

Other DBIConnection generics: dbDataType, dbDisconnect, dbExecute, dbExistsTable, dbGetException, dbGetInfo, dbGetQuery, dbIsValid, dbListFields, dbListResults, dbListTables, dbReadTable, dbRemoveTable, dbSendQuery, dbSendStatement

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

Community examples

Looks like there are no examples yet.