🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## keys, getKeys ##### *Description* Returns the keys that match a certain pattern. 返回某种计算模式取得的KEYS。 ##### *Description* ##### *Parameters* *STRING*: pattern, using '\*' as a wildcard. STRING:计算符 ##### *Return value* *Array of STRING*: The keys that match a certain pattern. ##### *Example* ``` <pre class="calibre16">$allKeys = $redis->keys('*'); // all keys will match this. $keyWithUserPrefix = $redis->keys('user*'); ``` ##