Check class final

Declares a class-level database check using trusted SQL.

Constructors

Check(String expression, {String? name, String? sqlite, String? postgres, String? mysql, String? mariadb})
Declares a database check; generation does not execute the expression.
const

Properties

expression → String
SQL used where no dialect override is provided.
final
hashCode → int
The hash code for this object.
no setterinherited
mariadb → String?
MariaDB expression override.
final
mysql → String?
MySQL expression override.
final
name → String?
Optional physical constraint name.
final
postgres → String?
PostgreSQL expression override.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sqlite → String?
SQLite expression override; empty explicitly marks it unsupported.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited