Skip to main content

CopySinkFn

Type Alias CopySinkFn 

Source
pub type CopySinkFn = unsafe extern "C" fn(info: duckdb_copy_function_sink_info, chunk: duckdb_data_chunk);
Expand description

Sink callback — called for each data chunk to write data. With PER_THREAD_OUTPUT or PARTITION_BY it runs on several threads at once; with neither, not in parallel (see the module docs).