pub unsafe extern "C" fn duckdb_validity_set_row_validity(
    validity: *mut u64,
    row: idx_t,
    valid: bool
)
Expand description

In a validity mask, sets a specific row to either valid or invalid.

Note that duckdb_data_chunk_ensure_validity_writable should be called before calling duckdb_data_chunk_get_validity, to ensure that there is a validity mask to write to.

validity: The validity mask, as obtained through duckdb_data_chunk_get_validity. row: The row index valid: Whether or not to set the row to valid, or invalid