incrementBy method
Adds delta to this column in the database.
A negative delta subtracts from the current value. Zero is rejected so callers cannot depend on provider-specific no-op affected-row behavior. Overflow and floating-point rounding follow the database provider.
Implementation
SqlUpdateAssignment incrementBy(T delta) {
if (delta == 0) {
throw ArgumentError.value(delta, 'delta', 'Must not be zero.');
}
return _SqlIncrementAssignment(
this as SqlTableColumn<Object?>,
resultColumn.bind(delta),
);
}