MutateInOptions class Key-Value
Options for Collection.mutateIn.
- Inheritance
-
- Object
- CommonOptions
- CommonDurabilityOptions
- MutateInOptions
Constructors
- MutateInOptions({Duration? expiry, bool preserveExpiry = false, Cas? cas, StoreSemantics storeSemantics = StoreSemantics.replace, DurabilityLevel durabilityLevel = DurabilityLevel.none, Duration? timeout})
-
const
- MutateInOptions.legacyDurability({Duration? expiry, bool preserveExpiry = false, Cas? cas, StoreSemantics storeSemantics = StoreSemantics.replace, PersistTo persistTo = PersistTo.none, ReplicateTo replicateTo = ReplicateTo.none, Duration? timeout})
-
const
Properties
- cas → Cas?
-
If specified, indicates that operation should be failed if the Cas
has changed from this value, indicating that the document has changed.
final
- durabilityLevel → DurabilityLevel
-
The level of synchronous durability for this operation.
finalinherited
- durabilityPersistTo → PersistTo
-
The number of nodes this operation should be persisted to before it is
considered successful.
finalinherited
- durabilityReplicateTo → ReplicateTo
-
The number of nodes this operation should be replicated to before it is
considered successful.
finalinherited
- expiry → Duration?
-
The expiry time for this document.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- preserveExpiry → bool
-
Whether any existing expiry on the document should be preserved.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storeSemantics → StoreSemantics
-
The store semantics to use for this operation.
final
- timeout → Duration?
-
The timeout for this operation.
finalinherited
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