Learn R Programming

DBI (version 0.5-1)

dbListTables: List remote tables

Description

This should, where possible, include temporary tables.

Usage

dbListTables(conn, ...)

Arguments

conn
A DBIConnection object, as produced by dbConnect.
...
Other parameters passed on to methods.

Value

a character vector. If no tables present, a character vector of length 0.

See Also

Other DBIConnection generics: DBIConnection-class, dbDataType, dbDisconnect, dbExecute, dbExistsTable, dbGetException, dbGetInfo, dbGetQuery, dbIsValid, dbListFields, dbListResults, dbReadTable, dbRemoveTable, dbSendQuery, dbSendStatement

Examples

Run this code
con <- dbConnect(RSQLite::SQLite(), ":memory:")

dbListTables(con)
dbWriteTable(con, "mtcars", mtcars)
dbListTables(con)

dbDisconnect(con)

Run the code above in your browser using DataLab