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. This object can be retrieved again during execution.

@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).