2022年11月15日

【Redis】PHP操作Redis的命令大全

摘要: 1、连接到 redis 服务 <?php //连接本地的 Redis 服务 $redis =newRedis(); $redis->connect('127.0.0.1',6379); echo "Connection to server sucessfully";//设置 redis 字符串数据 阅读全文

posted @ 2022-11-15 22:33 何苦-> 阅读(806) 评论(0) 推荐(2)

redis

摘要: 数据类型 String(字符串) Hash(哈希) List(列表) Set(集合) Zset(有序集合) BitMap(2.2 版新增) HyperLogLog(2.8 版新增) GEO(3.2 版新增) Stream(5.0 版新增) String String 是最基本的 key-value 阅读全文

posted @ 2022-11-15 21:52 何苦-> 阅读(85) 评论(0) 推荐(0)

导航