You've already forked node-redis
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:
@@ -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', () => {
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user