AGGREGATE_WITHCURSOR.d.ts 681 B

1234567891011121314
  1. import { AggregateOptions, AggregateRawReply, AggregateReply } from './AGGREGATE';
  2. export { FIRST_KEY_INDEX, IS_READ_ONLY } from './AGGREGATE';
  3. interface AggregateWithCursorOptions extends AggregateOptions {
  4. COUNT?: number;
  5. }
  6. export declare function transformArguments(index: string, query: string, options?: AggregateWithCursorOptions): import("@redis/client/dist/lib/commands").RedisCommandArguments;
  7. type AggregateWithCursorRawReply = [
  8. result: AggregateRawReply,
  9. cursor: number
  10. ];
  11. interface AggregateWithCursorReply extends AggregateReply {
  12. cursor: number;
  13. }
  14. export declare function transformReply(reply: AggregateWithCursorRawReply): AggregateWithCursorReply;