企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## set ##### Description Set the string value in argument as value of the key. 设置值到KEY ##### Parameters *Key* *Value* *Timeout* (optional). Calling `<span class="calibre12">SETEX</span>` is preferred if you want a timeout. ##### Return value *Bool*`<span class="calibre12">TRUE</span>` if the command is successful. ##### Examples ``` <pre class="calibre9">$redis->set('key', 'value'); ```