OnConflictClause class
ON CONFLICT (cols) DO {NOTHING | UPDATE SET ... [WHERE ...]} clause
attached to an INSERT to form an UPSERT.
Constructors
Properties
-
assignments
→ Map<
String, Expr> -
Assignments for
DO UPDATE SET col = expr, .... Empty when doNothing.final - doNothing → bool
-
True for
DO NOTHING, false forDO UPDATE SET ....final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
targetColumns
→ List<
String> -
Conflict-target column names. Empty means "any unique constraint
violation" (SQLite shorthand:
ON CONFLICT DO ...).final - where → Expr?
-
Optional
WHEREfilter on the UPDATE branch.final
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