You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
some more commands
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { RedisArgument, NumberReply, Command } from '../RESP/types';
|
||||
import { pushVariadicArguments } from './generic-transformers';
|
||||
import { RedisVariadicArgument, pushVariadicArguments } from './generic-transformers';
|
||||
|
||||
export default {
|
||||
FIRST_KEY_INDEX: 1,
|
||||
transformArguments(
|
||||
key: RedisArgument,
|
||||
element: RedisArgument
|
||||
element: RedisVariadicArgument
|
||||
) {
|
||||
return pushVariadicArguments(['RPUSHX', key], element);
|
||||
},
|
||||
|
Reference in New Issue
Block a user