dbGetInfo-methods | R Documentation |
These methods are straight-forward implementations of the corresponding generic functions.
any object that implements some functionality in the R/S-Plus interface to databases (a driver, a connection or a result set).
an PostgreSQLResult
.
currently not being used.
nullOk in dbColumnInfo
was changed. Now it may be TRUE, FALSE, or NA; the column may be totally deleted in future releases;
See the Database Interface definition document
DBI.pdf
in the base directory of this package
or https://cran.r-project.org/package=DBI.
PostgreSQL
,
dbDriver
,
dbConnect
,
dbSendQuery
,
dbGetQuery
,
fetch
,
dbCommit
,
dbGetInfo
,
dbListTables
,
dbReadTable
.
## Not run:
drv <- dbDriver("PostgreSQL")
con <- dbConnect(drv, user= "user", password="password", dbname="sample")
dbListTables(con)
rs <- dbSendQuery(con, query.sql)
dbGetStatement(rs)
dbHasCompleted(rs)
info <- dbGetInfo(rs)
names(dbGetInfo(drv))
# DBIConnection info
names(dbGetInfo(con))
# DBIResult info
names(dbGetInfo(rs))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.