dbDataType-methods {RSQLite} | R Documentation |
This method is a straight-forward implementation of the corresponding generic function.
a SQLiteDriver
object, e.g., ODBCDriver
,
OracleDriver
.
R/S-Plus object whose SQL type we want to determine.
any other parameters that individual methods may need.
See the Database Interface definition document
DBI.pdf
in the base directory of this package
or http://stat.bell-labs.com/RS-DBI.
data(quakes) drv <- dbDriver("SQLite") sapply(quakes, function(x) dbDataType(drv, x)) dbDataType(drv, 1) dbDataType(drv, as.integer(1)) dbDataType(drv, "1") dbDataType(drv, charToRaw("1"))