You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Add support for JSON.MSET
(#2605)
* Added MSET command MSET command added. Requires all keys to have the same JSON Path, which might fit most use cases, but is a limitation. Optionally we could make the path an array as well to support all use cases. * change JSON.MSET signature, add to json command object, fix tests * its `item.value`, not `item.json`.. * Update MSET.ts Removed unused RedisCommandArguments --------- Co-authored-by: Leibale Eidelman <me@leibale.com>
This commit is contained in:
@@ -9,6 +9,7 @@ import * as DEL from './DEL';
|
||||
import * as FORGET from './FORGET';
|
||||
import * as GET from './GET';
|
||||
import * as MGET from './MGET';
|
||||
import * as MSET from './MSET';
|
||||
import * as NUMINCRBY from './NUMINCRBY';
|
||||
import * as NUMMULTBY from './NUMMULTBY';
|
||||
import * as OBJKEYS from './OBJKEYS';
|
||||
@@ -42,6 +43,8 @@ export default {
|
||||
get: GET,
|
||||
MGET,
|
||||
mGet: MGET,
|
||||
MSET,
|
||||
mSet: MSET,
|
||||
NUMINCRBY,
|
||||
numIncrBy: NUMINCRBY,
|
||||
NUMMULTBY,
|
||||
|
Reference in New Issue
Block a user