标签:class ash ctr 数据 cli set import redis 循环
import redis client = redis.StrictRedis() for i in range(100): client.hset(‘hash_demo‘, ‘demo%d‘% i, i)
?? 利用redis的hash结构循环插入100条数据
标签:class ash ctr 数据 cli set import redis 循环
原文地址:https://www.cnblogs.com/lyns/p/12188352.html