MssqlUniqueMatch class
A unique-key lookup the schema actually guarantees.
Filtered and disabled indexes never become one of these: they do not
make a row unique across the table, so getOrCreate would race or
return the wrong row. Generated CustomerUnique.code('ACME') is the
call site; constructing this by hand is for keys the generator has
not emitted yet.
- Annotations
-
- @immutable
Constructors
-
MssqlUniqueMatch({required String indexName, required Map<
String, Object?> values})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- indexName → String
-
sys.indexes / constraint name, compared without regard to case.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ Map<
String, Object?> -
Key columns to values, schema spelling.
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