You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
690 B
16 lines
690 B
import { RedisCommandArgument, RedisCommandArguments } from '.';
|
|
import { ScanOptions } from './generic-transformers';
|
|
export declare const FIRST_KEY_INDEX = 1;
|
|
export declare const IS_READ_ONLY = true;
|
|
export declare function transformArguments(key: RedisCommandArgument, cursor: number, options?: ScanOptions): RedisCommandArguments;
|
|
export type HScanRawReply = [RedisCommandArgument, Array<RedisCommandArgument>];
|
|
export interface HScanTuple {
|
|
field: RedisCommandArgument;
|
|
value: RedisCommandArgument;
|
|
}
|
|
interface HScanReply {
|
|
cursor: number;
|
|
tuples: Array<HScanTuple>;
|
|
}
|
|
export declare function transformReply([cursor, rawTuples]: HScanRawReply): HScanReply;
|
|
export {};
|
|
|