kill_db_connections: kill all open connections at once

Description Usage Arguments

View source: R/db.R

Description

refer to https://stackoverflow.com/questions/32139596/cannot-allocate-a-new-connection-16-connections-already-opened-rmysql

Usage

1
kill_db_connections(drv = RPostgreSQL::PostgreSQL())

Arguments

drv

A object inheriting from DBIDriver. Defaults to RPostgreSQL::PostgreSQL()


shizidushu/hfun documentation built on Aug. 27, 2018, 8 a.m.