【发布时间】:2014-10-14 13:03:03
【问题描述】:
我正在学习 redis,我有一个初学者问题。我知道 redis 就是关于键的!有什么方法可以查询/解析某个特定键的值吗?
假设我有键和一些 json 作为值。 例如
key1 = {"id":"1", "colour":"red}
key2 = {"id":"2", "colour":"green}
key3 = {"id":"3", "colour":"red}
如何查询所有“color=red”的值(json)?
select all values WHERE colour==red
【问题讨论】:
标签: redis