Skip to main content

duckdb_fetch_chunk

Function duckdb_fetch_chunk 

Source
pub unsafe extern "C" fn duckdb_fetch_chunk(
    result: duckdb_result,
) -> duckdb_data_chunk
Expand description

Fetches a data chunk from a duckdb_result. This function should be called repeatedly until the result is exhausted.

The result must be destroyed with duckdb_destroy_data_chunk.

It is not known beforehand how many chunks will be returned by this result.

history:

  • stable: v1.0.0

@param result The result object to fetch the data chunk from. @return duckdb_data_chunk