Home >Backend Development >PHP Tutorial >php redis Hash 怎么通过 一个指定的value 查找到对应的 key 值

php redis Hash 怎么通过 一个指定的value 查找到对应的 key 值

WBOY
WBOYOriginal
2016-06-06 20:19:252300browse

比如
key value
CA Carlow

知道 Carlow 怎么获取到 CA

回复内容:

比如
key value
CA Carlow

知道 Carlow 怎么获取到 CA

并没有这种方法,只能是把所有 hash 对读出来,在查找其中对应的值。

取出来search啊

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn