ConcurrencyControl enum Null safety Database
Conflict-handling options when saving or deleting a document.
- Implemented types
Constants
- failOnConflict → const ConcurrencyControl
-
The current save/delete will fail if there is a conflict.
const ConcurrencyControl(1)
- lastWriteWins → const ConcurrencyControl
-
The current save/delete will overwrite a conflicting revision if there is a conflict.
const ConcurrencyControl(0)
-
values
→ const List<
ConcurrencyControl> -
A constant List of the values in this enum, in order of their declaration.
const List<
ConcurrencyControl>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited