Skip to content

Added zcount command in node.#909

Merged
adanWattad merged 1 commit intovalkey-io:mainfrom
adanWattad:node/zcount
Feb 14, 2024
Merged

Added zcount command in node.#909
adanWattad merged 1 commit intovalkey-io:mainfrom
adanWattad:node/zcount

Conversation

@adanWattad
Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@adanWattad adanWattad requested a review from a team as a code owner February 7, 2024 11:41
@adanWattad adanWattad force-pushed the node/zcount branch 2 times, most recently from 5393d0a to 59a02b9 Compare February 7, 2024 11:54
@barshaul
Copy link
Copy Markdown
Collaborator

Please talk with @shohamazon, we saw that we need to refactor this command implementation in python

@shachlanAmazon
Copy link
Copy Markdown
Contributor

please align tests with #911

@Yury-Fridlyand Yury-Fridlyand added the node 🐢 Node.js wrapper label Feb 13, 2024
maxScore: ScoreLimit
): redis_request.Command {
const args = [key];

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lets have consts for the args values, e.g.:

const positiveInfinityArg = "+inf"
const negativeInfinityArg = "-inf"
const isInclusiveArg = "("

).toEqual(0);
});
},
config.timeout
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

please add a test for if key holds a value that is not a sorted set

@adanWattad adanWattad merged commit 6ea7701 into valkey-io:main Feb 14, 2024
@adanWattad adanWattad deleted the node/zcount branch February 14, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

node 🐢 Node.js wrapper

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants