duckdb_value_varchar

Function duckdb_value_varchar 

Source
pub unsafe extern "C" fn duckdb_value_varchar(
    result: *mut duckdb_result,
    col: idx_t,
    row: idx_t,
) -> *mut c_char
Expand description

DEPRECATED**: Use duckdb_value_string instead. This function does not work correctly if the string contains null bytes.

@return The text value at the specified location as a null-terminated string, or nullptr if the value cannot be converted. The result must be freed with duckdb_free.