\Header{dbSetDataMappings-methods}{Set data mappings between SQLite and R/S-Plus}
\alias{dbSetDataMappings,SQLiteResult,data.frame-method}{dbSetDataMappings-methods}
\keyword{interface}{dbSetDataMappings-methods}
\keyword{interface}{dbSetDataMappings-methods}
\keyword{database}{dbSetDataMappings-methods}
\begin{Description}\relax
Not yet implemented\end{Description}
\begin{Section}{Methods}
\describe{
\item[res] a \code{SQLiteResult} object as returned by \code{dbSendQuery}.

\item[flds] a data.frame with field descriptions as returned by 
\code{\Link{dbColumnInfo}}.

\item[\dots ] any additional arguments are passed to the implementing method.

}\end{Section}
\begin{References}\relax
See the Database Interface definition document
\code{DBI.pdf} in the base directory of this package
or \url{http://developer.r-project.org/db}.\end{References}
\begin{SeeAlso}\relax
\code{\Link{SQLite}},
\code{\Link{dbSendQuery}},
\code{\Link{fetch}},
\code{\Link{dbColumnInfo}}.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
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)

\end{ExampleCode}
\end{Examples}

