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

    Interface HGetExOptions

    Optional arguments for the HGETEX command.

    // Get fields and set 30 second expiration
    const options: HGetExOptions = {
    expiry: { type: TimeUnit.Seconds, count: 30 }
    };

    // Get fields and remove expiration
    const persistOptions: HGetExOptions = {
    expiry: "PERSIST"
    };

    See https://valkey.io/commands/hgetex/ for more details.

    interface HGetExOptions {
        expiry?: HGetExExpiry;
    }
    Index

    Properties

    Properties

    expiry?: HGetExExpiry

    Expiry settings for the fields. Can be a time-based expiry or "PERSIST" to remove expiration.