NodeRedis/node-redis

View on GitHub
packages/client/lib/commands/GEORADIUSBYMEMBERSTORE.ts

Summary

Maintainability
A
45 mins
Test Coverage
import { RedisCommandArgument, RedisCommandArguments } from '.';
import { GeoUnits, GeoRadiusStoreOptions, pushGeoRadiusStoreArguments } from './generic-transformers';

export { FIRST_KEY_INDEX, IS_READ_ONLY } from './GEORADIUSBYMEMBER';

export function transformArguments(
    key: RedisCommandArgument,
    member: string,
    radius: number,
    unit: GeoUnits,
    destination: RedisCommandArgument,
    options?: GeoRadiusStoreOptions,
): RedisCommandArguments {
    return pushGeoRadiusStoreArguments(
        ['GEORADIUSBYMEMBER'],
        key,
        member,
        radius,
        unit,
        destination,
        options
    );
}

export declare function transformReply(): number