45 lines
967 B
R
45 lines
967 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/DBConnection-Configure.R
|
|
\name{.configureDefault}
|
|
\alias{.configureDefault}
|
|
\title{Configures the DBClient instance.}
|
|
\usage{
|
|
.configureDefault(
|
|
host,
|
|
port,
|
|
user,
|
|
password,
|
|
dbname,
|
|
engine = NULL,
|
|
name = NULL,
|
|
schema = NULL,
|
|
autoconnect = NULL
|
|
)
|
|
}
|
|
\arguments{
|
|
\item{host}{The database host}
|
|
|
|
\item{port}{The database port}
|
|
|
|
\item{user}{The database user to connect with}
|
|
|
|
\item{password}{The database password to connect with}
|
|
|
|
\item{dbname}{The database to use}
|
|
|
|
\item{engine}{The database engine (mysql, postgres) as supported by DBI}
|
|
|
|
\item{name}{The database to use (alternative to dbname)}
|
|
|
|
\item{schema}{The database schema to use (postgres)}
|
|
|
|
\item{autoconnect}{Autoconnect to the database if not already connected}
|
|
}
|
|
\value{
|
|
The configuration accepted
|
|
}
|
|
\description{
|
|
There are 2 options for configuration, either: pass in a named list; or use
|
|
named parameters.
|
|
}
|