Skip to main content

Module client_context

Module client_context 

Source
Expand description

Client context access (DuckDB 1.5.0+).

The client context provides access to the connection’s catalog, configuration options, file system, and connection ID from within registered function callbacks (scalar, table, aggregate, etc.).

§Obtaining a ClientContext

Use ClientContext::from_connection from within an extension entry point, or obtain one from a callback via the duckdb_*_get_client_context family of C API functions.

Structs§

ClientContext
RAII wrapper for a duckdb_client_context.