UpsertOptions class Key-Value

Options for Collection.upsert.

Inheritance
Implemented types

Constructors

UpsertOptions({Duration? expiry, bool preserveExpiry = false, Transcoder? transcoder, DurabilityLevel durabilityLevel = DurabilityLevel.none, Duration? timeout})
const
UpsertOptions.legacyDurability({Duration? expiry, bool preserveExpiry = false, Transcoder? transcoder, PersistTo persistTo = PersistTo.none, ReplicateTo replicateTo = ReplicateTo.none, Duration? timeout})
const

Properties

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