Skip to contents

Close a duckdb connection

Usage

ddbs_stop_conn(conn)

Arguments

conn

A connection object to a DuckDB database

Value

TRUE (invisibly) for successful disconnection

Examples

if (FALSE) { # interactive()
## load packages
library(duckspatial)

## create an in-memory duckdb database
conn <- ddbs_create_conn(dbdir = "memory")

## close the connection
ddbs_stop_conn(conn)
}