Skip to contents

Disconnects and shuts the DuckDB instance down, which releases the file lock at once (a connection left open in a session keeps the lock until the session ends or the connection is garbage-collected).

Usage

db_disconnect(con)

Arguments

con

A DBI connection to DuckDB.

Value

NULL, invisibly.