kill_db_connections: kill all open connections at once

Description Usage Arguments

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/RFunsInUse documentation built on May 24, 2019, 2:03 a.m.