db_close: Wrapper around pool::pooClose(): closes an open database...

View source: R/dbAccess.R

db_closeR Documentation

Wrapper around pool::pooClose(): closes an open database (normally opened earlier via eg db_open())

Description

Wrapper around pool::pooClose(): closes an open database (normally opened earlier via eg db_open())

Usage

db_close(db, suppressErrors = FALSE)

Arguments

db

database access 'handle' to be closed

suppressErrors

logical (default = FALSE). For the somewhat unique situation that a database is possibly already closed. This happens eg when working with 'in memory' databases as is possible with SQLite; the closing of this type of database may already have happened when for instance a shiny application closes/shuts down


BenBruyneel/BBPersonalR documentation built on Aug. 23, 2024, 8:28 p.m.