quackdb_internal::ffi

Function duckdb_value_varchar

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

DEPRECATED: use duckdb_value_string instead. This function does not work correctly if the string contains null bytes. returns: 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.