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

Additional flags on "SET" command in lua #1181

Open
artur-ma opened this issue May 25, 2022 · 0 comments
Open

Additional flags on "SET" command in lua #1181

artur-ma opened this issue May 25, 2022 · 0 comments

Comments

@artur-ma
Copy link

Hey, found some inconsistency in ioredis-mock lua.

Lua:

local res = redis.call('SET', 'key', 'val', 'GET');
return res

should return the old value if exists, but with ioredis-mock it returns "OK"
https://redis.io/commands/set/

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

No branches or pull requests

2 participants