【发布时间】:2020-05-07 15:30:05
【问题描述】:
我的游戏中有很多哈希值,例如
HMSET('hash1', 'level', 25, 'connected', 2)
HMSET('hash2', 'level', 50, 'connected', 2)
HMSET('hash3', 'level', 15, 'connected', 3)
HMSET('hash3', 'level', 15, 'connected', 2)
我想找到级别值为 50 的哈希。 我可以通过这个找到哈希吗,如果可以,那么如何?
还指定 2 个查询,例如 level 为 15,connected 必须小于 3?
【问题讨论】:
标签: hash redis node-redis