企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## config ##### Description Get or Set the redis config keys. 取得或者设置REIDS系统配置KEYS。 ##### Parameters *operation* (string) either `<span class="calibre12">GET</span>` or `SET` *key* string for `<span class="calibre12">SET</span>`, glob-pattern for `<span class="calibre12">GET</span>`. See <http://redis.io/commands/config-get> for examples. *value* optional string (only for `<span class="calibre12">SET</span>`) ##### Return value *Associative array* for `<span class="calibre12">GET</span>`, key -> value *bool* for `<span class="calibre12">SET</span>` ##### Examples ``` <pre class="calibre9">$redis->config("GET", "*max-*-entries*"); $redis->config("SET", "dir", "/var/run/redis/dumps/"); ``` ##