You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-12-15 23:55:38 +03:00
chore: mark 8.4 features as experimental (#3134)
This commit is contained in:
committed by
GitHub
parent
f8841c880e
commit
c9f8cbcad5
@@ -25,6 +25,9 @@ type DelexCondition = (typeof DelexCondition)[keyof typeof DelexCondition];
|
||||
export default {
|
||||
IS_READ_ONLY: false,
|
||||
/**
|
||||
*
|
||||
* @experimental
|
||||
*
|
||||
* Conditionally removes the specified key based on value or digest comparison.
|
||||
*
|
||||
* @param parser - The Redis command parser
|
||||
|
||||
@@ -4,6 +4,9 @@ import { Command, RedisArgument, SimpleStringReply } from "../RESP/types";
|
||||
export default {
|
||||
IS_READ_ONLY: true,
|
||||
/**
|
||||
*
|
||||
* @experimental
|
||||
*
|
||||
* Returns the XXH3 hash of a string value.
|
||||
*
|
||||
* @param parser - The Redis command parser
|
||||
|
||||
@@ -33,6 +33,9 @@ export interface SetOptions {
|
||||
* Condition for setting the key:
|
||||
* - `NX` - Set if key does not exist
|
||||
* - `XX` - Set if key already exists
|
||||
*
|
||||
* @experimental
|
||||
*
|
||||
* - `IFEQ` - Set if current value equals match-value (since 8.4, requires `matchValue`)
|
||||
* - `IFNE` - Set if current value does not equal match-value (since 8.4, requires `matchValue`)
|
||||
* - `IFDEQ` - Set if current value digest equals match-digest (since 8.4, requires `matchValue`)
|
||||
@@ -53,14 +56,14 @@ export interface SetOptions {
|
||||
* @deprecated Use `{ condition: 'XX' }` instead.
|
||||
*/
|
||||
XX?: boolean;
|
||||
|
||||
|
||||
GET?: boolean;
|
||||
}
|
||||
|
||||
export default {
|
||||
/**
|
||||
* Constructs the SET command
|
||||
*
|
||||
*
|
||||
* @param parser - The command parser
|
||||
* @param key - The key to set
|
||||
* @param value - The value to set
|
||||
|
||||
Reference in New Issue
Block a user