We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thank you for the nice library.
running hmget against a key that set empty string '' by hmset will return a nil value.
# redis = Redis.new <redis host>, 6379 redis.hmset 'key', 'a', '' a = redis.hmget 'key', 'a' p a # => [nil]
running hget against the key return empty string ''.
hget
a = redis.hget 'key', 'a' p a # => ""
By redis-cli, running hmget or hget against the key return empty string ''.
hmget
redis:6379> hmset key a "" "" redis:6379> hmget key a 1) "" redis:6379> hget key a ""
Is this behavior intended?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thank you for the nice library.
running hmget against a key that set empty string '' by hmset will return a nil value.
running
hget
against the key return empty string ''.By redis-cli, running
hmget
orhget
against the key return empty string ''.Is this behavior intended?
The text was updated successfully, but these errors were encountered: