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,11 +1,16 @@
|
||||
import { SampleRawReply, SampleReply, transformSampleReply } from '.';
|
||||
import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
|
||||
import { pushLatestArgument, SampleRawReply, SampleReply, transformSampleReply } from '.';
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
|
||||
export const IS_READ_ONLY = true;
|
||||
|
||||
export function transformArguments(key: string): Array<string> {
|
||||
return ['TS.GET', key];
|
||||
interface GetOptions {
|
||||
LATEST?: boolean;
|
||||
}
|
||||
|
||||
export function transformArguments(key: string, options?: GetOptions): RedisCommandArguments {
|
||||
return pushLatestArgument(['TS.GET', key], options?.LATEST);
|
||||
}
|
||||
|
||||
export function transformReply(reply: [] | SampleRawReply): null | SampleReply {
|
||||
|
Reference in New Issue
Block a user