Skip to content

Node: added ZMPOP command - #1994

Merged
Yury-Fridlyand merged 6 commits into
valkey-io:mainfrom
Bit-Quill:node/integ_guiang_zmpop
Jul 23, 2024
Merged

Yury-Fridlyand merged 6 commits into
valkey-io:mainfrom
Bit-Quill:node/integ_guiang_zmpop

Conversation

@GumpacG

@GumpacG GumpacG commented Jul 22, 2024

Copy link
Copy Markdown
Contributor

@GumpacG
GumpacG requested a review from a team as a code owner July 22, 2024 18:51
@GumpacG
GumpacG force-pushed the node/integ_guiang_zmpop branch from a1a3d31 to d049f60 Compare July 22, 2024 18:52
Comment thread node/src/BaseClient.ts Outdated
Comment thread node/src/BaseClient.ts Outdated
Comment thread node/src/Commands.ts
* Mandatory option for zmpop.
* Defines which elements to pop from the sorted set.
*/
export enum ScoreFilter {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Should we put it into src/commands dir?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you add the two necessary occurrences for ScoreFilter in npm/glide/index.ts?

@GumpacG GumpacG Jul 22, 2024

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Should we put it into src/commands dir?

This has yet to be discussed if we separate enums and option types in to separate files.

Comment thread node/src/Commands.ts
Comment thread node/src/Transaction.ts Outdated
@GumpacG GumpacG added the node 🐢 Node.js wrapper label Jul 22, 2024
Comment thread node/src/BaseClient.ts Outdated
Comment thread node/src/BaseClient.ts Outdated
Comment thread node/src/Transaction.ts Outdated
Comment thread node/tests/SharedTests.ts
Comment thread node/src/Commands.ts
* Mandatory option for zmpop.
* Defines which elements to pop from the sorted set.
*/
export enum ScoreFilter {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you add the two necessary occurrences for ScoreFilter in npm/glide/index.ts?

GumpacG added 5 commits July 22, 2024 16:31
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
@GumpacG
GumpacG force-pushed the node/integ_guiang_zmpop branch from 6fd4c03 to 4b62e85 Compare July 22, 2024 23:32
Comment thread node/src/BaseClient.ts Outdated
Comment thread node/src/Transaction.ts Outdated
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
@Yury-Fridlyand
Yury-Fridlyand merged commit 3bbe51b into valkey-io:main Jul 23, 2024
@Yury-Fridlyand
Yury-Fridlyand deleted the node/integ_guiang_zmpop branch July 23, 2024 03:28
affonsov pushed a commit that referenced this pull request Aug 21, 2026
* Add zmpop command

Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
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