Skip to main content

validate_assignment_source

Function validate_assignment_source 

Source
pub fn validate_assignment_source<E>(
    target: &AssignmentTarget<E>,
    required: &ColumnType,
    source: Option<&ColumnType>,
) -> Result<(), SQLError>
Expand description

Type errors retain PostgreSQL’s separate primary message and rewrite hint.