Skip to content

建议修改的api #5

@tomluck2

Description

@tomluck2

1:size方法需要修改下,如果key不存在,会抛null,最好返回0;
不然每次都得判断isExist().谢谢!
或者新增方法: sizeWithoutCheck()
2:zset增加range通过offset index获取,参考redis zset range. (默认的是score升序)
方便通过offset index,在不知道score范围时,获取range.
(现在只能自定义index设置到score,像list使用了。)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions