quackdb_internal::ffi

Function duckdb_query_arrow_schema

Source
pub unsafe extern "C" fn duckdb_query_arrow_schema(
    result: *mut _duckdb_arrow,
    out_schema: *mut *mut _duckdb_arrow_schema,
) -> u32
Expand description

Fetch the internal arrow schema from the arrow result.

result: The result to fetch the schema from. out_schema: The output schema. returns: DuckDBSuccess on success or DuckDBError on failure.