Skip to contents

Close a DuckDB connection

Usage

ddbs_stop_conn(conn)

Arguments

conn

A DBIConnection object to a DuckDB database

Value

TRUE (invisibly) for successful disconnection

Examples

if (FALSE) { # \dontrun{
## load packages
library(duckspatial)

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

## close the connection
ddbs_stop_conn(conn)
} # }