Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 265 Bytes

File metadata and controls

11 lines (6 loc) · 265 Bytes

reids操作:

取得sorted set里元素的个数使用zcard(key)方法,或者使用zcount(key,'-inf', 'inf')方法都可以

SETEX key seconds value

	phpredis里使用的将key设置value值并设定过期时间
  1. redis学习

     http://doc.redisfans.com/