bullmq - v5.77.1
    Preparing search index...

    Interface IRedisTransaction

    Redis pipeline or transaction (MULTI).

    Commands are queued and executed together via exec. Only the subset of commands BullMQ uses inside pipelines is declared.

    interface IRedisTransaction {
        del(...keys: string[]): this;
        exec(): Promise<[Error, any][]>;
        hgetall(key: string): this;
        hscan(
            key: string,
            cursor: string | number,
            options?: { COUNT?: number },
        ): this;
        hset(key: string, data: Record<string, string | number>): this;
        llen(key: string): this;
        lrange(key: string, start: number, end: number): this;
        runCommand(name: string, args: any[]): this;
        smembers(key: string): this;
        sscan(
            key: string,
            cursor: string | number,
            options?: { COUNT?: number },
        ): this;
        zrange(key: string, start: number, end: number): this;
    }
    Index

    Methods

    • Parameters

      • key: string
      • cursor: string | number
      • Optionaloptions: { COUNT?: number }

      Returns this

    • Parameters

      • key: string
      • data: Record<string, string | number>

      Returns this

    • Parameters

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

      Returns this

    • Parameters

      • key: string
      • cursor: string | number
      • Optionaloptions: { COUNT?: number }

      Returns this

    • Parameters

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

      Returns this