db_open | R Documentation |
Wrapper around pool::dbPool(): opens a database
db_open(fileName, drv = RSQLite::SQLite(), ...)
fileName |
a character vector specifying the name and location of the database |
drv |
defines database connection type, default = RSQLite::SQLite() |
... |
to pass on additional parameters to pool::dbPool, exmples are host = "shiny-demo.csa7qlmguqrf.us-east-1.rds.amazonaws.com" username = "guest" password = "guest" |
database access 'handle'
if no file with the name 'fileName' exists, then it will be created (but obviously it will be empty, so most further commands will fail)
if fileName == ":memory:" the database will be an in-memory database
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.