pub fn validate_top_level_row(
fields: &[FieldDef],
pk_name: &str,
row: &BTreeMap<String, RowValue>,
) -> Result<(), DbError>Expand description
Validate top-level insert row: unknown fields, missing fields, types, constraints.
row must contain every top-level field (including the primary key).