db_connect: db_connect, connects the user to s44_prod_eden

Description Usage Arguments Value Examples

View source: R/db_connect.R

Description

db_connect, connects the user to s44_prod_eden

Usage

1
2
db_connect(.username, .password, .host = "mysql.query.s44",
  .db_name = "s44_prod_eden")

Arguments

.username

a mysql username

.password

a mysql password

.host

defauts to load balancer, but can be changed to a node if needed

.db_name

a mysql db name defaults to s44_prod_eden

Value

con

Examples

1
2
eden_connect(.username, .password)
df <- dbGetQuery(con, "select count(*) from user;")

elessert760/sir documentation built on March 19, 2018, 3:11 a.m.