MGET.d.ts 602 B

1234567891011121314151617
  1. import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
  2. import { Filter, RawLabels, SampleRawReply, SampleReply } from '.';
  3. export declare const IS_READ_ONLY = true;
  4. export interface MGetOptions {
  5. LATEST?: boolean;
  6. }
  7. export declare function transformArguments(filter: Filter, options?: MGetOptions): RedisCommandArguments;
  8. export type MGetRawReply = Array<[
  9. key: string,
  10. labels: RawLabels,
  11. sample: SampleRawReply
  12. ]>;
  13. export interface MGetReply {
  14. key: string;
  15. sample: SampleReply;
  16. }
  17. export declare function transformReply(reply: MGetRawReply): Array<MGetReply>;