dbConnect-H2Driver-method: Connect to an H2 database.

Description Usage Arguments

Description

Connect to an H2 database.

Usage

1
2
3
## S4 method for signature 'H2Driver'
dbConnect(drv, url = "mem:", user = "sa",
  password = "", sql_dialect = dbj::h2_dialect, ...)

Arguments

drv

An object of class JDBCDriver

url

the url to connect to (Visit http://h2database.com/html/features.html#database_url for a reference). If the url is a path to a local file the '.h2.db' suffix is stripped off automatically if present.

user

the user to log in

password

the user's password

sql_dialect

an sql_dialect

...

additional connection arguments


hoesler/dbj-h2 documentation built on May 17, 2019, 4:37 p.m.