Skip to main content

full_row_values

Function full_row_values 

Source
pub fn full_row_values(
    table: &TableSchema,
    values: Map<String, Value>,
) -> Result<Map<String, Value>, String>
Expand description

Turn an app-facing value map into a full-row map: every column present, a missing nullable column filled with NULL, a missing non-nullable column a loud error (§6.1 full-row payloads, §6.7 mutate marks every column).