UpdateCompanion<D> class
Null safety
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. [...]
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toColumns(
bool nullToAbsent) → Map< String, Expression> -
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