KitDB icon indicating copy to clipboard operation
KitDB copied to clipboard

建议修改的api

Open tomluck2 opened this issue 5 years ago • 1 comments

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

tomluck2 avatar Mar 17 '20 06:03 tomluck2

第一条已经计划修改,第二条不太明白具体的意思,是需要类似Redis的ZRANGEBYLEX功能么?LIMIT 0 3 LIMIT 3 3 这样?

frost373 avatar Mar 23 '20 04:03 frost373