Debian Codegraph @

packages/bloom/lib/commands/count-min-sketch/QUERY.ts

raw
1 import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
2 import { pushVerdictArguments } from '@redis/client/dist/lib/commands/generic-transformers';
3
4 export const FIRST_KEY_INDEX = 1;
5
6 export const IS_READ_ONLY = true;
7
8 export function transformArguments(
9 key: string,
10 items: string | Array<string>
11 ): RedisCommandArguments {
12 return pushVerdictArguments(['CMS.QUERY', key], items);
13 }
14
15 export declare function transformReply(): Array<number>;