interface IORedisMultiType {
    exec: (() => Promise<unknown[]>);
    del(key: string): this;
    expire(key: string, seconds: number): this;
    hdel(key: string, itemId: string): this;
    hget(key: string, itemId: string): this;
    hgetall(key: string): this;
    hincrbyfloat(key: string, itemId: string, value: number): this;
    hmget(key: string, itemIds: string[]): this;
    hset(key: string, values: Record<string, string>): this;
    lrange(key: string, start: number, end: number): this;
    rpush(key: string, value: string): this;
    sendCommand(command: string[]): Promise<any>;
    xack(key: string, group: string, id: string): this;
    xadd(key: string, id: string, fields: any, message?: string): this;
    xclaim(key: string, group: string, consumer: string, minIdleTime: number, id: string, ...args: string[]): this;
    xdel(key: string, id: string): this;
    xgroup(command: "CREATE", key: string, groupName: string, id: string, mkStream?: "MKSTREAM"): this;
    xlen(key: string): this;
    xpending(key: string, group: string, start?: string, end?: string, count?: number, consumer?: string): this;
    zadd(...args: (string | number)[]): this;
}

Properties

exec: (() => Promise<unknown[]>)

Methods

  • Parameters

    • key: string
    • seconds: number

    Returns this

  • Parameters

    • key: string
    • itemId: string

    Returns this

  • Parameters

    • key: string
    • itemId: string

    Returns this

  • Parameters

    • key: string
    • itemId: string
    • value: number

    Returns this

  • Parameters

    • key: string
    • itemIds: string[]

    Returns this

  • Parameters

    • key: string
    • values: Record<string, string>

    Returns this

  • Parameters

    • key: string
    • start: number
    • end: number

    Returns this

  • Parameters

    • key: string
    • value: string

    Returns this

  • Parameters

    • command: string[]

    Returns Promise<any>

  • Parameters

    • key: string
    • group: string
    • id: string

    Returns this

  • Parameters

    • key: string
    • id: string
    • fields: any
    • Optionalmessage: string

    Returns this

  • Parameters

    • key: string
    • group: string
    • consumer: string
    • minIdleTime: number
    • id: string
    • Rest...args: string[]

    Returns this

  • Parameters

    • key: string
    • id: string

    Returns this

  • Parameters

    • command: "CREATE"
    • key: string
    • groupName: string
    • id: string
    • OptionalmkStream: "MKSTREAM"

    Returns this

  • Parameters

    • key: string
    • group: string
    • Optionalstart: string
    • Optionalend: string
    • Optionalcount: number
    • Optionalconsumer: string

    Returns this

  • Parameters

    • Rest...args: (string | number)[]

    Returns this