disconnect: proxy the dbDisconnect based on 'getenv' value

View source: R/db.r

disconnectR Documentation

proxy the dbDisconnect based on 'getenv' value

Description

if 'env' is 'test', is a no-op. Otherwise delegates the call to 'DBI::dbDisconnect'

Usage

disconnect(con, env = getenv())

Arguments

con

connection to disconnect

env

environment to check against


giupo/GrafoDB documentation built on Oct. 12, 2022, 9:43 a.m.