quackdb_internal::ffi

Function duckdb_rows_changed

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

Returns the number of rows changed by the query stored in the result. This is relevant only for INSERT/UPDATE/DELETE queries. For other queries the rows_changed will be 0.

result: The result object. returns: The number of rows changed.