disconnect: Disconnect current database

Description Usage Arguments See Also Examples

View source: R/disconnect.R

Description

Properly closes a database connection. Use this if you are employing multiple connections and/or if you are annoyed by the warnings saying to call dbDisconnect_scrapebot() when finished working with a connection.

Usage

1

Arguments

connection

A connection object, as retrieved from connect_scrapebot().

See Also

connect_scrapebot()

Examples

1
2
3
4
5
6
## Not run: 

connection <- connect('my_db on localhost')
disconnect(connection)

## End(Not run)

MarHai/ScrapeBotR documentation built on March 10, 2021, 10:10 a.m.