1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

getting ready for a beta release :)

This commit is contained in:
Leibale
2023-11-09 19:12:29 -05:00
parent a5a4cb45ea
commit 2d8c0f0b79
12 changed files with 192 additions and 197 deletions

View File

@@ -1,7 +1,6 @@
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import AGGREGATE from './AGGREGATE';
// import { SchemaFieldTypes } from '.';
describe('AGGREGATE', () => {
describe('transformArguments', () => {

View File

@@ -194,15 +194,15 @@ export default {
break;
case FT_AGGREGATE_STEPS.APPLY:
args.push('APPLY', step.expression, 'AS', step.AS);
args.push(step.expression, 'AS', step.AS);
break;
case FT_AGGREGATE_STEPS.LIMIT:
args.push('LIMIT', step.from.toString(), step.size.toString());
args.push(step.from.toString(), step.size.toString());
break;
case FT_AGGREGATE_STEPS.FILTER:
args.push('FILTER', step.expression);
args.push(step.expression);
break;
}
}

View File

@@ -32,11 +32,6 @@ import SUGLEN from './SUGLEN';
import SYNDUMP from './SYNDUMP';
import SYNUPDATE from './SYNUPDATE';
import TAGVALS from './TAGVALS';
import { RedisArgument } from '@redis/client';
// import { RedisCommandArgument, RedisCommandArguments } from '@redis/client/dist/lib/commands';
// import { pushOptionalVariadicArgument, pushVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
// import { SearchOptions } from './SEARCH';
// import { CommandArguments } from '@redis/client/dist/lib/RESP/types';
export default {
_LIST,