Skip to content

Node: added persist command.#1023

Merged
adanWattad merged 1 commit intovalkey-io:mainfrom
adanWattad:node/persist
Mar 7, 2024
Merged

Node: added persist command.#1023
adanWattad merged 1 commit intovalkey-io:mainfrom
adanWattad:node/persist

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 22, 2024 12:50
@adanWattad adanWattad added the node 🐢 Node.js wrapper label Feb 22, 2024
* See https://redis.io/commands/persist/ for more details.
*
* @param key - The key to remove the existing timeout on.
* @returns 0 if `key` does not exist or does not have an associated timeout. 1 if the timeout has been removed.
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.

this should be treated as a boolean, not an integer

@adanWattad adanWattad force-pushed the node/persist branch 2 times, most recently from 98c0951 to feb3f2a Compare March 6, 2024 12:37
*
* @param key - The key to remove the existing timeout on.
*
* Command Response - false if `key` does not exist or does not have an associated timeout. true if the timeout has been removed.
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.

"false if...", "true if ..."

same below.

@adanWattad adanWattad merged commit ad02e64 into valkey-io:main Mar 7, 2024
@adanWattad adanWattad deleted the node/persist branch March 7, 2024 12:25
cyip10 pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Jun 24, 2024
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.

2 participants