hGet

PHP Redis

hGet

Description

Gets a value from the hash stored at key. If the hash table doesn't exist, or the key doesn't exist, FALSE is returned.

取得HASH中的VALUE,如何HASH不存在,或者KEY不存在返回FLASE。

Parameters

key
hashKey

Return value

STRING The value, if the command executed successfully BOOL FALSE in case of failure