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

    Enumeration HashExpirationCondition

    Expiration condition options for hash field expiration commands. Used with HEXPIRE, HPEXPIRE, HEXPIREAT, and HPEXPIREAT commands to control expiration setting behavior.

    Index

    Enumeration Members

    ONLY_IF_GREATER_THAN_CURRENT: "GT"

    Only set expiration when new expiration is greater than current. Equivalent to GT in the Valkey API.

    ONLY_IF_HAS_EXPIRY: "XX"

    Only set expiration when field has existing expiration. Equivalent to XX in the Valkey API.

    ONLY_IF_LESS_THAN_CURRENT: "LT"

    Only set expiration when new expiration is less than current. Equivalent to LT in the Valkey API.

    ONLY_IF_NO_EXPIRY: "NX"

    Only set expiration when field has no expiration. Equivalent to NX in the Valkey API.