Generic function to open a database connection

db.open(params)

Arguments

params

database connection information

Value

connection to database

Details

Create a connection to a database usign the specified parameters. If the paramters contain driver element it will be used as the database driver, otherwise it will use PostgreSQL.

Examples

# NOT RUN {
db.open(settings$database$bety)
# }