Check constructor

const Check(
  1. String expression, {
  2. String? name,
  3. String? sqlite,
  4. String? postgres,
  5. String? mysql,
  6. String? mariadb,
})

Declares a database check; generation does not execute the expression.

Implementation

const Check(
  this.expression, {
  this.name,
  this.sqlite,
  this.postgres,
  this.mysql,
  this.mariadb,
});