企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 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*'); ``` ##