prorm API Reference
    Preparing search index...

    Interface DaxSetOptions

    Options for set().

    interface DaxSetOptions {
        ttl?: number;
        expiration?: number;
    }
    Index
    ttl?: number

    Expire after this many seconds. Written as a DynamoDB TTL attribute (ttlAttr) holding the absolute Unix-seconds expiry. Requires TTL to be enabled on the table with a matching attribute name.

    expiration?: number

    Absolute expiration as a Unix timestamp in seconds (written to ttlAttr).