Skip to main content

validate_rows

Function validate_rows 

Source
pub fn validate_rows<S, T>(rows: &[T]) -> Result<(), (usize, VldSqlxError)>
where S: VldParse, T: Serialize,
Expand description

Validate a batch of rows against schema S.

Returns the index and error of the first invalid row.