quackdb_internal::ffi

Function duckdb_appender_close

Source
pub unsafe extern "C" fn duckdb_appender_close(
    appender: *mut _duckdb_appender,
) -> u32
Expand description

Close the appender, flushing all intermediate state in the appender to the table and closing it for further appends.

This is generally not necessary. Call duckdb_appender_destroy instead.

appender: The appender to flush and close. returns: DuckDBSuccess on success or DuckDBError on failure.