1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-17 19:41:06 +03:00

Support JSON.MERGE Command

This commit is contained in:
shacharPash
2023-05-16 16:10:29 +03:00
parent 67d9c3c46a
commit e3ee1d2763
3 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import { RedisJSON, transformRedisJsonArgument } from '.';
export const FIRST_KEY_INDEX = 1;
export function transformArguments(key: string, path: string, json: RedisJSON): Array<string> {
return ['JSON.MERGE', key, path, transformRedisJsonArgument(json)];
}
export declare function transformReply(): 'OK' | null;