1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
This commit is contained in:
Leibale
2023-04-27 19:17:11 -04:00
parent ab3973aca3
commit 8d615e99ed
16 changed files with 490 additions and 431 deletions

View File

@@ -1,5 +1,5 @@
import { RedisArgument, NumberReply, Command } from '../RESP/types';
import { SortOptions, transformSortArguments } from './SORT';
import SORT, { SortOptions } from './SORT';
export default {
FIRST_KEY_INDEX: 1,
@@ -9,7 +9,7 @@ export default {
destination: RedisArgument,
options?: SortOptions
) {
const args = transformSortArguments(source, options);
const args = SORT.transformArguments(source, options);
args.push('STORE', destination);
return args;
},