Disconnect from the server
Close the connection to the server.
disconnect(connection)
connection |
The connection to the database server. |
## Not run:
connectionDetails <- createConnectionDetails(dbms = "postgresql",
server = "localhost",
user = "root",
password = "blah")
conn <- connect(connectionDetails)
count <- querySql(conn, "SELECT COUNT(*) FROM person")
disconnect(conn)
## End(Not run)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.