MssqlWriteAssignments class

The columns one write names, and what each of them gets.

Ordered, because the SQL is written in this order and a reader comparing two logs should not have to sort them first. Absence is meaningful: a column that is not a key here is not named in the statement at all.

Annotations
  • @immutable

Properties

columns Iterable<String>
no setter
entries Iterable<MapEntry<String, MssqlWriteValue>>
no setter
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
no setter
isNotEmpty bool
no setter
length int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

contains(String column) bool
Whether column was named at all, ignoring case.
merge(MssqlWriteAssignments other) MssqlWriteAssignments
other's columns on top of these.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toOperands() Map<String, Object?>
What the DML builders take: an operand per column.
toString() String
A string representation of this object.
override
without(String column) MssqlWriteAssignments
This set without column, if it was there.
withValue(String column, MssqlWriteValue value) MssqlWriteAssignments
This set with column set to value, replacing any existing entry.

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String column) MssqlWriteValue?

Static Properties

empty MssqlWriteAssignments
No columns at all, which every write refuses.
final