db_connect: db_connect

Description Usage Arguments Examples

View source: R/hello.R

Description

Connects to a database specified in the config file and returns a database object.

Usage

1
db_connect(database = NULL, user_db = "shiny_mysql")

Arguments

database

The name of the SQL database of the server you are connecting to. If left blank, this will connect to the default database specified in the config file.

user_db

The name of the config profile that you are connecting to. This will default to "shiny_mysql" by default.

Examples

1
db_connect(database="tacos", user_db="nacho_man")

Macrophage87/DBToolkit documentation built on July 28, 2019, 2:45 a.m.