ColumnConstraint.custom constructor

const ColumnConstraint.custom(
  1. CustomComponent custom, {
  2. KnownSqlDialect? onlyOnDialect,
})

Creates a column constraint generating dialect-specific SQL.

Implementation

const factory ColumnConstraint.custom(
  CustomComponent custom, {
  KnownSqlDialect? onlyOnDialect,
}) = CustomColumnConstraint._;