DoUpdate<T extends Table, D> class Null safety

A DoUpdate upsert clause can be used to insert or update a custom companion when the underlying companion already exists.

For an example, see InsertStatement.insert.

Inheritance

Constructors

DoUpdate(Insertable<D> update(T old), {List<Column>? target, Expression<bool?> where(T old)?})
Creates a DO UPDATE clause. [...]
DoUpdate.withExcluded(Insertable<D> update(T old, T excluded), {List<Column>? target, Expression<bool?> where(T old, T excluded)?})
Creates a DO UPDATE clause. [...]

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
target List<Column>?
An optional list of columns to serve as an "conflict target", which specifies the uniqueness constraint that will trigger the upsert. [...]
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited