Skip to contents

Properly closes a DuckDB connection and shuts down the database.

Usage

close_duckdb(con, checkpoint = NULL)

Arguments

con

DuckDB connection

checkpoint

Run checkpoint before closing (default: TRUE for writeable connections)

Value

NULL (invisibly)

Examples

if (FALSE) { # \dontrun{
close_duckdb(con)
} # }