Interface HimportFieldsetExperimental

A long-lived HIMPORT fieldset managed by ioredis for the lifetime of a logical Redis or Cluster client.

Requires Redis 8.10 or newer.

interface HimportFieldset {
    fields: readonly (string | Buffer)[];
    name: string | Buffer;
}

Properties

Properties

fields: readonly (string | Buffer)[]

Ordered hash field names. Values passed to HIMPORT SET are paired with fields positionally.

name: string | Buffer

The name referenced by later HIMPORT SET commands.