
dbListFields(conn, name, ...)
DBIConnection
object, as produced by
dbConnect
.dbColumnInfo
to get the type of the fields.Other DBIConnection generics: DBIConnection-class
,
dbDataType
, dbDisconnect
,
dbExecute
, dbExistsTable
,
dbGetException
, dbGetInfo
,
dbGetQuery
, dbIsValid
,
dbListResults
, dbListTables
,
dbReadTable
, dbRemoveTable
,
dbSendQuery
, dbSendStatement
con <- dbConnect(RSQLite::SQLite(), ":memory:")
dbWriteTable(con, "mtcars", mtcars)
dbListFields(con, "mtcars")
dbDisconnect(con)
Run the code above in your browser using DataLab