![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
redis
一定迟到逗
这个作者很懒,什么都没留下…
展开
-
python操作redis,一次插入字典多个值
import redisfd = redis.Redis(host='127.0.0.1', password="123!@#456", port = 6379, db =1)#连接池#pool = redis.ConnectionPool(host='127.0.0.1',password='123!@#456',port=8080)#hset(name, key, value)fd....原创 2019-07-10 15:11:31 · 7806 阅读 · 0 评论 -
redis hash的数据结构和实现过程
1、数据结构/*Hash表一个节点包含Key,Value数据对 */typedef struct dictEntry { void *key; union { void *val; uint64_t u64; int64_t s64; double d; } v; struct dictEntry ...转载 2019-07-30 13:48:24 · 283 阅读 · 0 评论