🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## resetStat ##### *Description* Resets the statistics reported by Redis using the INFO command (`<span class="calibre12">info()</span>` function). 使用info()重置静态的日志。 These are the counters that are reset: - Keyspace hits - Keyspace misses - Number of commands processed - Number of connections received - Number of expired keys ##### *Parameters* None. ##### *Return value* *BOOL*: `<span class="calibre12">TRUE</span>` in case of success, `<span class="calibre12">FALSE</span>` in case of failure. ##### *Example* ``` <pre class="calibre9">$redis->resetStat(); ``` ##