Skip to content

scan出来的结果如何知道总数? #153

Closed
askie opened this Issue Jan 10, 2014 · 1 comment

2 participants

@askie
askie commented Jan 10, 2014

scan出来的结果总数是多少?
目的是为了分页获取总数!

@ideawu
Owner
ideawu commented Jan 10, 2014

Hi, scan 不能获取总数. 如果需要知道整数, 可以用 hset, zset 来代替. SSDB 的分页建议是游标分页, 也即上一页下一页的方式, 不建议用页码分页.

@ideawu ideawu closed this Jan 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.