You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
use dockers for tests, use npm workspaces, add rejson & redisearch modules, fix some bugs
This commit is contained in:
23
packages/client/lib/commands/GEOSEARCH_WITH.ts
Normal file
23
packages/client/lib/commands/GEOSEARCH_WITH.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { RedisCommandArguments } from '.';
|
||||
import { GeoSearchFrom, GeoSearchBy, GeoReplyWith, GeoSearchOptions } from './generic-transformers';
|
||||
import { transformArguments as geoSearchTransformArguments } from './GEOSEARCH';
|
||||
|
||||
export { FIRST_KEY_INDEX, IS_READ_ONLY } from './GEOSEARCH';
|
||||
|
||||
export function transformArguments(
|
||||
key: string,
|
||||
from: GeoSearchFrom,
|
||||
by: GeoSearchBy,
|
||||
replyWith: Array<GeoReplyWith>,
|
||||
options?: GeoSearchOptions
|
||||
): RedisCommandArguments {
|
||||
const args: RedisCommandArguments = geoSearchTransformArguments(key, from, by, options);
|
||||
|
||||
args.push(...replyWith);
|
||||
|
||||
args.preserve = replyWith;
|
||||
|
||||
return args;
|
||||
}
|
||||
|
||||
export { transformGeoMembersWithReply as transformReply } from './generic-transformers';
|
Reference in New Issue
Block a user