1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
This commit is contained in:
Leibale
2023-05-10 12:08:02 +03:00
parent d59254e497
commit b4196faa41
12 changed files with 244 additions and 139 deletions

View File

@@ -1,12 +1,13 @@
import { RedisArgument, NumberReply, Command } from '../RESP/types';
import { pushZInterArguments, ZInterKeyAndWeight, ZInterKeys, ZInterOptions } from './ZINTER';
import { pushZInterArguments, ZInterOptions } from './ZINTER';
import { ZKeys } from './generic-transformers';
export default {
FIRST_KEY_INDEX: 1,
transformArguments(
destination: RedisArgument,
keys: ZInterKeys<RedisArgument> | ZInterKeys<ZInterKeyAndWeight>,
keys: ZKeys,
options?: ZInterOptions
) {
return pushZInterArguments(['ZINTERSTORE', destination], keys, options);