Skip to main content

validate_value

Function validate_value 

Source
pub fn validate_value(
    path: &mut Vec<String>,
    ty: &Type,
    constraints: &[Constraint],
    v: &RowValue,
) -> Result<(), DbError>
Expand description

Validate a row value against ty and apply constraints.