ReplaceOptions class Key-Value

Options for Collection.replace.

Inheritance
Implemented types

Constructors

ReplaceOptions({Duration? expiry, bool preserveExpiry = false, Cas? cas, Transcoder? transcoder, DurabilityLevel durabilityLevel = DurabilityLevel.none, Duration? timeout})
const
ReplaceOptions.legacyDurability({Duration? expiry, bool preserveExpiry = false, Cas? cas, Transcoder? transcoder, 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
timeout → Duration?
The timeout for this operation.
finalinherited
transcoder → Transcoder?
An explicit Transcoder to use for this specific operation.
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