Detaches the DuckLake database but keeps the DuckDB connection alive by
default. Use shutdown = TRUE to also close the connection and release
file locks.
Examples
if (FALSE) { # \dontrun{
attach_ducklake("my_ducklake", lake_path = "path/to/lake")
# ... do work ...
detach_ducklake("my_ducklake")
# Full shutdown when completely done
detach_ducklake("my_ducklake", shutdown = TRUE)
} # }
