dbGetInfo {RSQLite} | R Documentation |
Get metadata about a database object.
## S4 method for signature 'SQLiteDriver' dbGetInfo(dbObj) ## S4 method for signature 'SQLiteConnection' dbGetInfo(dbObj) ## S4 method for signature 'SQLiteResult' dbGetInfo(dbObj)
dbObj |
An object of class |
dbGetInfo(SQLite()) con <- dbConnect(SQLite()) dbGetInfo(con) dbWriteTable(con, "mtcars", mtcars) rs <- dbSendQuery(con, "SELECT * FROM mtcars") dbGetInfo(rs) dbFetch(rs, 1) dbGetInfo(rs) dbClearResult(rs) dbDisconnect(con)