make_sure_db_exists: Make sure that rethink database exists

Description Usage Arguments Examples

View source: R/connection.R

Description

This function checks whether database 'db_name' exists and if not it creates one.

Usage

1

Arguments

connection

structure with rethinkdb connection details

db_name

character with database name

Examples

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

## End(Not run)

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