Debian Codegraph @

packages/time-series/lib/commands/MREVRANGE_WITHLABELS.ts

raw
1 import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
2 import { Timestamp, MRangeWithLabelsOptions, pushMRangeWithLabelsArguments, Filter } from '.';
3
4 export const IS_READ_ONLY = true;
5
6 export function transformArguments(
7 fromTimestamp: Timestamp,
8 toTimestamp: Timestamp,
9 filters: Filter,
10 options?: MRangeWithLabelsOptions
11 ): RedisCommandArguments {
12 return pushMRangeWithLabelsArguments(
13 ['TS.MREVRANGE'],
14 fromTimestamp,
15 toTimestamp,
16 filters,
17 options
18 );
19 }
20
21 export { transformMRangeWithLabelsReply as transformReply } from '.';