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
While scores of zsets can be floats, this is not consistently replicated. Example:
zset("myset", "k", 2.5) zget("myset", "k") # => 2.5 zincr("myset", "k", 1) # => 3 zset("myset", "k", 2.5) zscan("myset", "k", 0, 100, -1) # => [["k", 2]]
It would make sense to make zset scores consistently ints or floats.
The text was updated successfully, but these errors were encountered:
will fix in future version, zset scores are 64-bit integers.
Sorry, something went wrong.
fixed since 1.4.2
现在zset的score可以是float了吗
你好, ssdb 的 zset 的 score 不能是 float, 只能是 int64.
嗯啊,为了减少数据的损失,我先乘以了一个100000
ideawu
No branches or pull requests
While scores of zsets can be floats, this is not consistently replicated. Example:
It would make sense to make zset scores consistently ints or floats.
The text was updated successfully, but these errors were encountered: