Skip to main content

check_assignable

Function check_assignable 

Source
pub fn check_assignable(
    source: &ColumnType,
    target: &ColumnType,
    column: &str,
    expression: &str,
) -> Result<(), SQLError>
Expand description

coerce_to_target_type in assignment context: the expression’s type must have an assignment cast to the column’s type.