Optional
durabilitySpecifies the level of synchronous durability for this operation.
Optional
durabilitySpecifies the number of nodes this operation should be persisted to before it is considered successful. Note that this option is mutually exclusive of durabilityLevel.
Optional
durabilitySpecifies the number of nodes this operation should be replicated to before it is considered successful. Note that this option is mutually exclusive of durabilityLevel.
Optional
expirySpecifies the expiry time for the document.
The expiry can be provided as:
number
of seconds relative to the current time.Date
object for an absolute expiry time.IMPORTANT: To use a Unix timestamp for expiry, construct a Date from it ( new Date(UNIX_TIMESTAMP * 1000) ).
Optional
initialThe initial value to use for the document if it does not already exist. Not specifying this value indicates the operation should fail if the document does not exist.
Optional
timeoutThe timeout for this operation, represented in milliseconds.