View source: R/cached_connection.R
close_connection | R Documentation |
close connection
close_connection(conn = cached_connection())
conn |
a duckdb connection (leave blank) Closes the invisible cached connection to duckdb |
Shuts down connection before gc removes it. Then clear cached reference to avoid using a stale connection This avoids complaint about connection being garbage collected.
returns nothing.
close_connection()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.