Client APIs
API Reference Overview
In a validity mask, sets a specific row to either valid or invalid.  
Note that `duckdb_vector_ensure_validity_writable` should be called before calling `duckdb_vector_get_validity`,
to ensure that there is a validity mask to write to.  
###### Syntax {#docs:api:c:api::syntax}  
```c
void duckdb_validity_set_row_validity(
uint64_t *validity,
idx_t row,
bool valid
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `validity`: The validity mask, as obtained through `duckdb_vector_get_validity`.
* `row`: The row index
* `valid`: Whether or not to set the row to valid, or invalid  
<br>