AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
## hMGet ##### Description Retrieve the values associated to the specified fields in the hash. 批量取得HASH表中的VALUE。 ##### Parameters *key* *memberKeys* Array ##### Return value *Array* An array of elements, the values of the specified fields in the hash, with the hash keys as array keys. ##### Examples ``` <pre class="calibre16">$redis->delete('h'); $redis->hSet('h', 'field1', 'value1'); $redis->hSet('h', 'field2', 'value2'); $redis->hmGet('h', array('field1', 'field2')); /* returns array('field1' => 'value1', 'field2' => 'value2') */ ```