Skip to main content

default_constraint_to_expr

Function default_constraint_to_expr 

Source
fn default_constraint_to_expr(
    default_constraint: &ColumnDefaultConstraint,
    target_type: &ConcreteDataType,
) -> Option<Expr>
Expand description

Try to cast the [ColumnDefaultConstraint] to [Expr] by the target data type.