Skip to content

ioredis call() method #1356

@fkmurphy

Description

@fkmurphy

Hello, I am using ioredis-mock and trying to use the call method to execute a Redis command (e.g., JSON.GET, JSON.SET, etc.).

For example:

redis.call("JSON.SET", key, path, JSON.stringify(value))

However, the test ends up with an error: TypeError: redis.call is not a function.

In IORedis (5.3), the call function exists.
I am using ioredis-mock version 8, although I also tried version 7.

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions