摘要:
e.g.a=dict(a=1,b=2,c=3)r=redis.Redis()r.set("haha",a)r.hget("haha","b")#this will raise a exceptionthe right way is as follows:r.hmset("haha",a)#attenation:when you use this approach,if you use r.set(... 阅读全文
posted @ 2010-04-20 10:23
lexus
阅读(479)
评论(0)
推荐(0)