Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ioredis call() method #1356

Open
fkmurphy opened this issue Jan 18, 2025 · 0 comments
Open

ioredis call() method #1356

fkmurphy opened this issue Jan 18, 2025 · 0 comments

Comments

@fkmurphy
Copy link

fkmurphy commented Jan 18, 2025

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant