
Create a connection pool for Shiny apps (taxa database)
create_pool_taxa.RdCreates a connection pool for the taxa database. This is the recommended approach for Shiny applications.
Usage
create_pool_taxa(
pass = NULL,
user = NULL,
minSize = 1,
maxSize = 5,
use_env_credentials = FALSE
)Examples
if (FALSE) { # \dontrun{
# In your Shiny app server function:
pool_taxa <- create_pool_taxa()
onStop(function() {
pool::poolClose(pool_taxa)
})
} # }