1
0
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:
Leibale Eidelman
2022-08-31 09:25:13 -04:00
committed by GitHub
parent b10a6567dc
commit 5dd7d3149a
25 changed files with 369 additions and 181 deletions

View File

@@ -5,7 +5,8 @@ import {
pushChunkSizeArgument,
TimeSeriesDuplicatePolicies,
Labels,
pushLabelsArgument
pushLabelsArgument,
pushDuplicatePolicy
} from '.';
export const FIRST_KEY_INDEX = 1;
@@ -27,12 +28,7 @@ export function transformArguments(key: string, options?: CreateOptions): Array<
pushChunkSizeArgument(args, options?.CHUNK_SIZE);
if (options?.DUPLICATE_POLICY) {
args.push(
'DUPLICATE_POLICY',
options.DUPLICATE_POLICY
);
}
pushDuplicatePolicy(args, options?.DUPLICATE_POLICY);
pushLabelsArgument(args, options?.LABELS);