代潇瑞博客

set 命令/方法/函数

Description

Set the string value in argument as value of the key.

设置值到KEY


Parameters

Key

Value

Timeout (optional). Calling SETEX is preferred if you want a timeout.


Return value

Bool TRUE if the command is successful.


Examples

$redis->set('key', 'value');

【相关命令】

触屏版 | 电脑版

Copyright © 2013 代潇瑞博客手机版

QQ: 446673330

粤ICP备13071969号-1