Methods for the class JDBCDriver in Package `RJDBC'
Methods for the class JDBCDriver in Package `RJDBC'
Methods for the class H2Driver' in Package H2'. In addition to methods listed here there are methods inherited from JDBCDriver.
dbConnect creates a new H2 connection.
methods
Methods
dbConnect: signature(drv = "H2Driver", ...)
Examples
## Not run:# in memory databasecon <- dbConnect(H2(),"jdbc:h2:mem:")dbDisconnect(con)# external databasecon <- dbConnect(H2(),"jdbc:h2:~/test")dbDisconnect(con)# same but run in MySQL compatibility modecon <- dbConnect(H2(),"jdbc:h2:~/test;MODE=MYSQL")## End(Not run)