get_conn_from_input: Get DuckDB connection from an object

View source: R/utils_not_exported.R

get_conn_from_inputR Documentation

Get DuckDB connection from an object

Description

Extracts the connection from duckspatial_df, tbl_lazy, or validates a direct connection.

Usage

get_conn_from_input(x)

Arguments

x

A duckspatial_df, tbl_lazy, duckdb_connection, or NULL

Value

A duckdb_connection or NULL


duckspatial documentation built on June 22, 2026, 9:08 a.m.