KVPutOptions

interface KVPutOptions

exported from runtime.d

Properties

Property

Type

Description

ifNotExists?

boolean

Only put if the key does not already exist; put returns whether it was written.

ttl?

number

Duration in milliseconds until the key expires. Omitting it removes an existing TTL.