@valkey/valkey-glide
    Preparing search index...

    Interface RestoreOptions

    Optional arguments for RESTORE command.

    IDLETIME and FREQ modifiers cannot be set at the same time.

    interface RestoreOptions {
        absttl?: boolean;
        frequency?: number;
        idletime?: number;
        replace?: boolean;
    }
    Index

    Properties

    absttl?: boolean

    Set to true to specify that ttl argument of BaseClient.restore represents an absolute Unix timestamp (in milliseconds).

    frequency?: number

    Set the FREQ option with object frequency to the given key.

    idletime?: number

    Set the IDLETIME option with object idletime to the given key.

    replace?: boolean

    Set to true to replace the key if it exists.