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/hfun documentation built on May 27, 2019, 2:10 p.m.