Function libduckdb_sys::duckdb_query_arrow_array[][src]

pub unsafe extern "C" fn duckdb_query_arrow_array(
    result: duckdb_arrow,
    out_array: *mut duckdb_arrow_array
) -> duckdb_state
Expand description

Fetch an internal arrow array from the arrow result.

This function can be called multiple time to get next chunks, which will free the previous out_array. So consume the out_array before calling this function again.

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