duckdb_scalar_function_set_bind_data

Function duckdb_scalar_function_set_bind_data 

Source
pub unsafe extern "C" fn duckdb_scalar_function_set_bind_data(
    info: duckdb_bind_info,
    bind_data: *mut c_void,
    destroy: duckdb_delete_callback_t,
)
Expand description

Sets the user-provided bind data in the bind object of the scalar function. The bind data object can be retrieved again during execution. In most case, you also need to set the copy-callback of your bind data via duckdb_scalar_function_set_bind_data_copy.

@param info The bind info of the scalar function. @param bind_data The bind data object. @param destroy The callback to destroy the bind data (if any).