Skip to main content

assignment_type_compatible

Function assignment_type_compatible 

Source
pub fn assignment_type_compatible(
    source: &ColumnType,
    target: &ColumnType,
) -> bool
Expand description

Whether PostgreSQL assignment coercion accepts the declared source and target. Domains use their base type for cast selection and retain constraint checking at the value conversion boundary; array coercion applies element by element.