-first commit
This commit is contained in:
21
node_modules/@redis/json/dist/lib/commands/NUMINCRBY.d.ts
generated
vendored
Normal file
21
node_modules/@redis/json/dist/lib/commands/NUMINCRBY.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, ArrayReply, NumberReply, DoubleReply, NullReply, BlobStringReply, UnwrapReply } from '@redis/client/dist/lib/RESP/types';
|
||||
declare const _default: {
|
||||
readonly IS_READ_ONLY: false;
|
||||
/**
|
||||
* Increments a numeric value stored in a JSON document by a given number.
|
||||
* Returns the value after increment, or null if the key/path doesn't exist or value is not numeric.
|
||||
*
|
||||
* @param parser - The Redis command parser
|
||||
* @param key - The key containing the JSON document
|
||||
* @param path - Path to the numeric value
|
||||
* @param by - Amount to increment by
|
||||
*/
|
||||
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, path: RedisArgument, by: number) => void;
|
||||
readonly transformReply: {
|
||||
readonly 2: (reply: UnwrapReply<BlobStringReply>) => number | (number | null)[];
|
||||
readonly 3: () => ArrayReply<NumberReply | DoubleReply | NullReply>;
|
||||
};
|
||||
};
|
||||
export default _default;
|
||||
//# sourceMappingURL=NUMINCRBY.d.ts.map
|
||||
Reference in New Issue
Block a user