dbSetDataMappings-methods

0th

Percentile

Set data mappings between SQLite and R/S-Plus

Not yet implemented

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

SQLite, dbSendQuery, fetch, dbColumnInfo.

Aliases
  • dbSetDataMappings-methods
  • dbSetDataMappings,SQLiteResult,data.frame-method
Examples
makeImage <- function(x) {
  .C("make_Image", as.integer(x), length(x))
}

res <- dbSendQuery(con, statement)
flds <- dbColumnInfo(res)
flds[3, "Sclass"] <- makeImage

dbSetDataMappings(rs, flds)

im <- fetch(rs, n = -1)
Documentation reproduced from package RSQLite, version 0.7-0, License: LGPL (>= 2)

Community examples

Looks like there are no examples yet.