多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## hMset ##### Description Fills in a whole hash. Non-string values are converted to string, using the standard `<span class="calibre12">(string)</span>` cast. NULL values are stored as empty strings. 批量填充HASH表。不是字符串类型的VALUE,自动转换成字符串类型。使用标准的值。NULL值将被储存为一个空的字符串。 ##### Parameters *key* *members*: key → value array ##### Return value *BOOL* ##### Examples ``` <pre class="calibre9">$redis->delete('user:1'); $redis->hMset('user:1', array('name' => 'Joe', 'salary' => 2000)); $redis->hIncrBy('user:1', 'salary', 100); // Joe earns 100 more now. ``` ##