Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support more HRANGE options #1118

Closed
2 tasks done
tanruixiang opened this issue Nov 13, 2022 · 0 comments · Fixed by #1120
Closed
2 tasks done

Support more HRANGE options #1118

tanruixiang opened this issue Nov 13, 2022 · 0 comments · Fixed by #1120
Assignees
Labels
enhancement type enhancement

Comments

@tanruixiang
Copy link
Member

tanruixiang commented Nov 13, 2022

Search before asking

  • I had searched in the issues and found no similar issues.

Motivation

Based on the discussion in #1082 , we will align the HRANGE instruction with the ZRANGE.
The format is as follows:

HRANGE key start stop [BYLEX] [REV] [LIMIT offset count]

Similar to zrange, if we use bylex, then start and stop are the indexes. If we use bylex, then start and stop are strings. Limit can specify offset and count regardless of whether bylex is used.

Solution

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@tanruixiang tanruixiang added the enhancement type enhancement label Nov 13, 2022
@tanruixiang tanruixiang self-assigned this Nov 13, 2022
@tanruixiang tanruixiang changed the title More HRANGE options are supported. Support more HRANGE options Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement type enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant