Skip to main content

Module info

Module info 

Source
Expand description

Callback info wrappers for copy function callbacks.

Each copy function phase (bind, global init, sink, finalize) receives an opaque info handle from DuckDB. These wrappers provide safe, ergonomic access to the underlying C API functions.

Structs§

CopyBindInfo
Wrapper around the duckdb_copy_function_bind_info handle provided to a copy function bind callback.
CopyFinalizeInfo
Wrapper around the duckdb_copy_function_finalize_info handle provided to a copy function finalize callback.
CopyGlobalInitInfo
Wrapper around the duckdb_copy_function_global_init_info handle provided to a copy function global init callback.
CopySinkInfo
Wrapper around the duckdb_copy_function_sink_info handle provided to a copy function sink callback.

Constants§

EMPTY_ERROR_PLACEHOLDER
What set_error reports when it is given an empty message: DuckDB would otherwise show the error type followed by nothing.