pub unsafe extern "C" fn duckdb_nullmask_data(
result: *mut duckdb_result,
col: idx_t,
) -> *mut boolExpand description
DEPRECATED: Prefer using duckdb_result_get_chunk instead.
Returns the nullmask of a specific column of a result in columnar format. The nullmask indicates for every row
whether or not the corresponding row is NULL. If a row is NULL, the values present in the array provided by
duckdb_column_data are undefined.
if (nullmask[row]) { printf("Data for row %d: NULL\n", row); } else { printf("Data for row %d: %d\n", row,
data[row]); } ```
history:
- stable: v0.2.9
- deprecated: v1.0.0
@param result The result object to fetch the nullmask from.
@param col The column index.
@return bool*