MssqlUniqueKeySchema class
A unique index or constraint.
- Annotations
-
- @immutable
Constructors
Properties
- allowsDuplicateNulls → bool
-
Whether any key column can be NULL, so several all-NULL rows can coexist.
no setter
-
collations
→ List<
String?> -
Each key column's collation, in columns order; null for non-text.
final
-
columns
→ List<
String> -
The key columns, in key order. Included columns are not part of a key and
are not here.
final
- filterSql → String?
-
The filter predicate of a filtered index, or null for an ordinary one.
final
- guaranteesUniqueness → bool
-
Whether this key makes its columns unique across the whole table.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConstraint → bool
-
Whether it is a
UNIQUEconstraint rather than a bare unique index.final - isDisabled → bool
-
final
- isPrimaryKey → bool
-
final
- name → String
-
final
-
nullable
→ List<
bool> -
Whether each key column is nullable, in columns order.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unusableReason → String?
-
Why this key cannot stand in for a unique constraint, or null when it
can. Written for a diagnostic, so it reads as a reason.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited