make_sure_table_exists: Make sure that rethinkdb table exists

Description Usage Arguments Examples

View source: R/connection.R

Description

This function checks whether table 'table_name' exists in databse 'db_name' and if not it creates one.

Usage

1

Arguments

connection

structure with rethinkdb connection details

table_name

character with table name

Examples

1
2
3
4
5
6
## Not run: 
cn <- connect()
make_sure_db_exists(cn, "temp_db")
make_sure_table_exists(cn, "table one", "temp_db")

## End(Not run)

Appsilon/shiny.collections documentation built on Nov. 20, 2019, 5:39 p.m.