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

Node: Add XREVRANGE command #2148

Merged

Conversation

jonathanl-bq
Copy link
Collaborator

Signed-off-by: Jonathan Louie <jonathanl@bitquilltech.com>
Signed-off-by: Jonathan Louie <jonathanl@bitquilltech.com>
Signed-off-by: Jonathan Louie <jonathanl@bitquilltech.com>
@jonathanl-bq jonathanl-bq marked this pull request as ready for review August 16, 2024 21:35
@jonathanl-bq jonathanl-bq requested a review from a team as a code owner August 16, 2024 21:35
Copy link
Collaborator

@Yury-Fridlyand Yury-Fridlyand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is red

@@ -3104,6 +3105,46 @@ export class BaseClient {
return this.createWritePromise(createXRange(key, start, end, count));
}

/**
* Returns stream entries matching a given range of entry IDs in reverse order. Equivalent to `XRANGE` but returns the
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit

Suggested change
* Returns stream entries matching a given range of entry IDs in reverse order. Equivalent to `XRANGE` but returns the
* Returns stream entries matching a given range of entry IDs in reverse order. Equivalent to {@link xrange} but returns the

Signed-off-by: Jonathan Louie <jonathanl@bitquilltech.com>
Signed-off-by: Jonathan Louie <jonathanl@bitquilltech.com>
jonathanl-bq and others added 2 commits August 19, 2024 10:40
Signed-off-by: Jonathan Louie <jonathanl@bitquilltech.com>
Signed-off-by: jonathanl-bq <72158117+jonathanl-bq@users.noreply.github.com>
@jonathanl-bq jonathanl-bq merged commit 6d7658d into valkey-io:main Aug 19, 2024
8 checks passed
@jonathanl-bq jonathanl-bq deleted the node/lotjonat_XREVRANGE_valkey_66 branch August 19, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants