RMonetExists: Check table exists

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

Run a check to see if a table exists

Usage

1
RMonetExists(con, tablename)

Arguments

con

an Open MonetDB Connection handle

tablename

The name of a table to check

Details

1
2
3
4
5
6
7
  con = RMonetConnect("db.yml")

  res <- RMonetExists(con, "craftsmen")
  print(res)

  RMonetClose(con)
  

Value

Returns boolean true or false depending on whether the table exists or not

Note

nothing

Author(s)

Piers Harding

See Also

RMonet, RMonetConnect, RMonetGetInfo, RMonetQuery, RMonetLoadDataFrame, RMonetExecute, RMonetClose, RMonetStartTransaction, RMonetCommit, RMonetIsConnected, RMonetQuote, RMonetUnQuote, RMonetExists, RMonetListTables, RMonetListFields

Examples

1
2
3
4
5
6
## Not run: 
# Check if the voc.craftsmen table exists
  res <- RMonetExists(con, "craftsmen")
  print(res)

## End(Not run)

piersharding/RMonet documentation built on May 25, 2019, 6:09 a.m.