Description Usage Arguments Value See Also Examples
Checks if the table exists. Provide either table name or collection name, not both Kinetica DB table names are unique, different collections don't allow tables with the same name.
1 | dbExistsTable(conn, name, ...)
|
conn |
an object of [KineticaConnection-class] |
name |
character string for table or collection name or [KineticaId-class] object |
... |
Other parameters passed on to methods. |
logical
Other KineticaConnection methods: dbAppendTable
,
dbCreateTable
,
dbDataType,KineticaConnection-method
,
dbDisconnect,KineticaConnection-method
,
dbExecute,KineticaConnection,character-method
,
dbGetInfo
,
dbGetQuery,KineticaConnection,character-method
,
dbIsValid
, dbListFields
,
dbListObjects,KineticaConnection-method
,
dbListResults,KineticaConnection-method
,
dbListTables,KineticaConnection-method
,
dbReadTable
, dbRemoveTable
,
dbSendQuery,KineticaConnection,character-method
,
dbSendStatement,KineticaConnection,character-method
,
dbWriteTable
,
show,KineticaDriver-method
,
sqlCreateTable,KineticaConnection-method
,
transactions
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
con <- dbConnect(Kinetica(), url = "http://localhost:9191")
dbCreateTable(con, "tableA", data.frame(a = 1))
dbExistsTable(con, "tableA")
# TRUE
dbExecute(con, "DROP TABLE tableA")
# 1
dbExistsTable(con, "tableA")
# FALSE
dbDisconnect(con)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.