duckdb_profiling_info_get_value

Function duckdb_profiling_info_get_value 

Source
pub unsafe extern "C" fn duckdb_profiling_info_get_value(
    info: duckdb_profiling_info,
    key: *const c_char,
) -> duckdb_value
Expand description

Returns the value of the metric of the current profiling info node. Returns nullptr, if the metric does not exist or is not enabled. Currently, the value holds a string, and you can retrieve the string by calling the corresponding function: char *duckdb_get_varchar(duckdb_value value).

@param info A profiling information object. @param key The name of the requested metric. @return The value of the metric. Must be freed with duckdb_destroy_value