You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
close #2192 close #2193 close #2194 close #2195 close #2196 close #2197 close #2198 - support for TimeSeries 1.8 (#2200)
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
|
||||
import { Filter, pushFilterArgument, RawLabels, SampleRawReply, SampleReply, transformSampleReply } from '.';
|
||||
import { Filter, pushFilterArgument, pushLatestArgument, RawLabels, SampleRawReply, SampleReply, transformSampleReply } from '.';
|
||||
|
||||
export const IS_READ_ONLY = true;
|
||||
|
||||
export function transformArguments(filter: Filter): RedisCommandArguments {
|
||||
return pushFilterArgument(['TS.MGET'], filter);
|
||||
export interface MGetOptions {
|
||||
LATEST?: boolean;
|
||||
}
|
||||
|
||||
export function transformArguments(filter: Filter, options?: MGetOptions): RedisCommandArguments {
|
||||
const args = pushLatestArgument(['TS.MGET'], options?.LATEST);
|
||||
return pushFilterArgument(args, filter);
|
||||
}
|
||||
|
||||
export type MGetRawReply = Array<[
|
||||
|
Reference in New Issue
Block a user