Learn R Programming

RSQLite (version 1.0.0)

dbListFields,SQLiteConnection,character-method: List fields in specified table.

Description

List fields in specified table.

Usage

# S4 method for SQLiteConnection,character
dbListFields(conn, name)

Arguments

conn

An existing '>SQLiteConnection

name

a length 1 character vector giving the name of a table.

Examples

Run this code
# NOT RUN {
con <- dbConnect(SQLite())
dbWriteTable(con, "iris", iris)
dbListFields(con, "iris")
dbDisconnect(con)
# }

Run the code above in your browser using DataLab