You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-10 11:43:01 +03:00
36 lines
957 B
TypeScript
36 lines
957 B
TypeScript
// import { RedisCommandArgument, RedisCommandArguments } from '.';
|
|
// import { transformStringDoubleArgument } from './generic-transformers';
|
|
|
|
// export const FIRST_KEY_INDEX = 1;
|
|
|
|
// export const IS_READ_ONLY = true;
|
|
|
|
// export interface ZRangeByLexOptions {
|
|
// LIMIT?: {
|
|
// offset: number;
|
|
// count: number;
|
|
// };
|
|
// }
|
|
|
|
// export function transformArguments(
|
|
// key: RedisCommandArgument,
|
|
// min: RedisCommandArgument,
|
|
// max: RedisCommandArgument,
|
|
// options?: ZRangeByLexOptions
|
|
// ): RedisCommandArguments {
|
|
// const args = [
|
|
// 'ZRANGEBYLEX',
|
|
// key,
|
|
// transformStringDoubleArgument(min),
|
|
// transformStringDoubleArgument(max)
|
|
// ];
|
|
|
|
// if (options?.LIMIT) {
|
|
// args.push('LIMIT', options.LIMIT.offset.toString(), options.LIMIT.count.toString());
|
|
// }
|
|
|
|
// return args;
|
|
// }
|
|
|
|
// export declare function transformReply(): Array<RedisCommandArgument>;
|