Description Usage Arguments Details Value Note Author(s) See Also Examples
Run a check to see if a table exists
1 | RMonetExists(con, tablename)
|
con |
an Open MonetDB Connection handle |
tablename |
The name of a table to check |
1 2 3 4 5 6 7 | con = RMonetConnect("db.yml")
res <- RMonetExists(con, "craftsmen")
print(res)
RMonetClose(con)
|
Returns boolean true or false depending on whether the table exists or not
nothing
Piers Harding
RMonet, RMonetConnect, RMonetGetInfo, RMonetQuery, RMonetLoadDataFrame, RMonetExecute, RMonetClose, RMonetStartTransaction, RMonetCommit, RMonetIsConnected, RMonetQuote, RMonetUnQuote, RMonetExists, RMonetListTables, RMonetListFields
1 2 3 4 5 6 | ## Not run:
# Check if the voc.craftsmen table exists
res <- RMonetExists(con, "craftsmen")
print(res)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.