ColumnConstraint.customSql constructor

ColumnConstraint.customSql(
  1. String sql
)

Creates a column constraint from its sql text.

Implementation

factory ColumnConstraint.customSql(String sql) {
  return ColumnConstraint.custom(CustomComponent(sql));
}