redis paging

요구사항

특정 키에 id들을 저장해두고 페이징을 하려고 할 때

ZADD key score member [score member ...]

ZRANGE key start stop
ZADD post:30 0 11

ZRANGE post:30 0 100

Subscribe to flynn's devnote

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe