“慢生活”不是懒惰,放慢速度不是拖延时间,而是让我们在生活中寻找到平衡。网站首页程序人生
workerman-redis組件-rename
发布时间:2021-12-25 23:05:06作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
rename修改 key 的名称,key不存在则返回false。實例:<?phpuse Workerman\Worker;use Workerman\Redis\Client;use Workerman\Connection\TcpConnection;use Workerman\Timer;
阅读全文>>workerman-redis組件-rename
发布时间:2021-12-25 23:04:42作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
rename修改 key 的名称,key不存在则返回false。實例:<?phpuse Workerman\Worker;use Workerman\Redis\Client;use Workerman\Connection\TcpConnection;use Workerman\Timer;
阅读全文>>workerman-redis組件-move
发布时间:2021-12-25 22:58:46作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
move将当前数据库的 key 移动到给定的数据库 db 当中。實例:<?phpuse Workerman\Worker;use Workerman\Redis\Client;use Workerman\Connection\TcpConnection;use Workerma
阅读全文>>workerman-redis組件-randomKey
发布时间:2021-12-25 22:52:27作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
randomKey从当前数据库中随机返回一个 key。實例如:<?phpuse Workerman\Worker;use Workerman\Redis\Client;use Workerman\Connection\TcpConnection;use Workerman\Timer;
阅读全文>>workerman-redis組件-getSet
发布时间:2021-12-25 22:45:25作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
getSet用于设置指定 key 的值,并返回 key 的旧值。實例:<?phpuse Workerman\Worker;use Workerman\Redis\Client;use Workerman\Connection\TcpConnection;use Workerman\Tim
阅读全文>>