ConstraintEntity class
Constraint is not used as an independent entity, it is retrieved as part of another entity such as Table or View.
Constructors
Properties
-
customFeatures
↔ Map<
String, Object?> ? -
Custom engine specific features.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The name of the table constraint.
getter/setter pair
-
referenceColumns
↔ List<
String> ? -
Reference columns which may be associated with the constraint.
getter/setter pair
- referenceTable ↔ String?
-
Reference table which may be associated with the constraint.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tableColumns
↔ List<
String> ? -
Table columns used as part of the Constraint, for example primary key
constraint should list the columns which constitutes the key.
getter/setter pair
- tableName ↔ String?
-
Table which is associated with the constraint.
getter/setter pair
- type ↔ String?
-
Type of constraint, for example unique, primary key, foreign key
(currently only primary key is supported).
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited