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

HSET should allow multiple field/value pairs #179

Open
dbrekalo opened this issue Feb 15, 2021 · 1 comment
Open

HSET should allow multiple field/value pairs #179

dbrekalo opened this issue Feb 15, 2021 · 1 comment

Comments

@dbrekalo
Copy link

As of Redis 4.0.0, HSET is variadic and allows for multiple field/value pairs.

HSET myhash field1 "Hello" field2 "World"

This is currently not supported in redis-mock?

@dbhat6
Copy link

dbhat6 commented Mar 1, 2021

@kamiljano @yeahoffline
As per the documentation, HMSET is deprecated and HSET is upgraded to handle the exact same functionality as HMSET.

As of Redis 4.0.0, HSET is variadic and allows for multiple field/value pairs.
As per Redis 4.0.0, HMSET is considered deprecated. Please prefer HSET in new code.

Made the code changes as part of #182

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

2 participants