dbDataType-methods

0th

Percentile

Determine the SQL Data Type of an S object

This method is a straight-forward implementation of the corresponding generic function.

Keywords
methods, interface, database
References

See the Database Interface definition document DBI.pdf in the base directory of this package or http://stat.bell-labs.com/RS-DBI.

See Also

isSQLKeyword make.db.names

Aliases
  • dbDataType-methods
  • dbDataType,SQLiteObject-method
Examples
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"))
Documentation reproduced from package RSQLite, version 0.6-7, License: LGPL (>= 2)

Community examples

Looks like there are no examples yet.