dbExistsTable {DBI} | R Documentation |
Does a table exist?
dbExistsTable(conn, name, ...)
conn |
A |
name |
A character string specifying a DBMS table name. |
... |
Other parameters passed on to methods. |
a logical vector of length 1.
Other DBIConnection generics: DBIConnection-class
,
dbDataType
, dbDisconnect
,
dbExecute
, dbGetException
,
dbGetInfo
, dbGetQuery
,
dbIsValid
, dbListFields
,
dbListResults
, dbListTables
,
dbReadTable
, dbRemoveTable
,
dbSendQuery
, dbSendStatement
con <- dbConnect(RSQLite::SQLite(), ":memory:") dbExistsTable(con, "iris") dbWriteTable(con, "iris", iris) dbExistsTable(con, "iris") dbDisconnect(con)