UpdateCompanion<D> class
abstract
An update companion for a DataClass which is used to write data into a database using InsertStatement.insert or UpdateStatement.write.
D
is the associated data class for this companion.
See also:
- the explanation in the changelog for 1.5
- https://github.com/simolus3/drift/issues/25
- Implemented types
-
- Insertable<
D>
- Insertable<
Constructors
- UpdateCompanion()
-
Constant constructor so that generated companion classes can be constant.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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
-
toColumns(
bool nullToAbsent) → Map< String, Expression< Object> > -
Converts this object into a map of column names to expressions to insert
or update.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override