| utils_database_write_yaml {easydb} | R Documentation | 
Write database yaml
Description
Writes database config details into a yaml. Usernames and passwords are never saved in this yaml file
Usage
utils_database_write_yaml(
  dbname,
  driver,
  creds_required = FALSE,
  port = NULL,
  host = NULL,
  ssl_cert = NULL,
  ssl_key = NULL,
  ssl_ca = NULL,
  file,
  append = TRUE
)
Arguments
| dbname | name of database | 
| driver | name of driver | 
| creds_required | are credentials (username/password) required for this database (flag) | 
| port | database port | 
| host | database host | 
| ssl_cert | path to ssl certificate (string) | 
| ssl_key | path to ssl key (string) | 
| ssl_ca | path to ssl CA certificate (string) | 
| file | where config file should be located (will be produced if it doesn't already exist) | 
| append | should config file be appended or overwritten? Defualts to append. Don't change unless you know what you're doing | 
Value
path to config yaml containing the new database info (string)
[Package easydb version 1.1.0 Index]