DBIObject-class {DBI}R Documentation

Class DBIObject

Description

Base class for all other DBI classes (e.g., drivers, connections).

Objects from the Class

A virtual Class: No objects may be created from it.

Methods

Methods defined for classes that extend DBIObject:

dbDataType
signature(dbObj = "DBIObject"): ...
isSQLKeyword
signature(dbObj = "DBIObject"): ...
make.db.names
signature(dbObj = "DBIObject"): ...
SQLKeywords
signature(dbObj = "DBIObject"): ...
summary
signature(object = "DBIObject"): ...

Plus many other specific to the other DBI classes.

Author(s)

R-SIG-DB

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 classes: DBIObject-class DBIDriver-class DBIConnection-class DBIResult-class

Examples

## Not run: 
drv <- dbDriver("MySQL")
con <- dbConnect(drv, group = "rs-dbi")
res <- dbSendQuery(con, "select * from vitalSuite")
is(drv, "DBIObject")   ## True
is(con, "DBIObject")   ## True
is(res, "DBIObject")
## End(Not run)

[Package DBI version 0.2-4 Index]