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
@@ -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