InsertOptions class Key-Value

Options for Collection.insert.

Inheritance
Implemented types

Constructors

InsertOptions({Duration? expiry, Transcoder? transcoder, DurabilityLevel durabilityLevel = DurabilityLevel.none, Duration? timeout})
const
InsertOptions.legacyDurability({Duration? expiry, 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
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