dbListFields,SQLiteConnection,character-method {RSQLite} | R Documentation |
Returns the fields of a given table as a character vector.
## S4 method for signature 'SQLiteConnection,character' dbListFields(conn, name, ...)
conn |
An existing |
name |
a length 1 character vector giving the name of a table. |
... |
Needed for compatibility with generic. Otherwise ignored. |
The corresponding generic function DBI::dbListFields()
.
library(DBI) db <- RSQLite::datasetsDb() dbListFields(db, "iris") dbDisconnect(db)