Skip to content

Conversation

@Avital-Fine
Copy link
Contributor

Description

  1. EXPIRE - Added options: NX, XX, GT and LT
  2. EXPIREAT - Added options: NX, XX, GT and LT
  3. EXPIRETIME - new command
  4. PEXPIRE - Added options: NX, XX, GT and LT
  5. PEXPIREAT - Added options: NX, XX, GT and LT
  6. PEXPIRETIME - new command

closes #1967, closes #1966, closes #1965, closes #1941, closes #1940, closes #1939


Checklist

  • Does npm test pass with this change (including linting)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
@codecov-commenter
Copy link

codecov-commenter commented Mar 16, 2022

Codecov Report

Merging #2036 (d0b3954) into master (be51abe) will decrease coverage by 0.02%.
The diff coverage is 91.66%.

@@ Coverage Diff @@ ## master #2036 +/- ## ========================================== - Coverage 94.83% 94.80% -0.03%  ========================================== Files 360 362 +2 Lines 3366 3386 +20 Branches 411 415 +4 ========================================== + Hits 3192 3210 +18  - Misses 89 91 +2  Partials 85 85 
Impacted Files Coverage Δ
packages/client/lib/commands/EXPIRETIME.ts 66.66% <66.66%> (ø)
packages/client/lib/commands/PEXPIRETIME.ts 66.66% <66.66%> (ø)
packages/client/lib/cluster/commands.ts 100.00% <100.00%> (ø)
packages/client/lib/commands/EXPIRE.ts 100.00% <100.00%> (ø)
packages/client/lib/commands/EXPIREAT.ts 100.00% <100.00%> (ø)
packages/client/lib/commands/PEXPIRE.ts 100.00% <100.00%> (ø)
packages/client/lib/commands/PEXPIREAT.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be51abe...d0b3954. Read the comment docs.

@leibale leibale merged commit 24cd9ba into master Mar 24, 2022
@leibale leibale deleted the new_expire_options branch March 24, 2022 14:17
florian-schunk pushed a commit to florian-schunk/node-redis that referenced this pull request Jun 18, 2025
* Support new expire features * Update PEXPIRETIME.ts * Update EXPIRETIME.ts * fix version skip * clean code Co-authored-by: leibale <leibale1998@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants