UpdateSet<T extends Row> class final

A set of mutations to be applied when updating rows.

Instances of this object are always created using the set callback passed to the updateBuilder callback in .update extension methods. These objects should always be passed back immediately. Meaning, .update should always be called as .update((row, set) => set(..., as illustrated below:

await db.myTable
    .update((row, set) => set(column: toExpr(value)))
    .execute();

This is always an opaque object that serves to make the signatures in .update easy to use.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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