MCPcopy
hub / github.com/redis/node-redis / create

Method create

packages/client/lib/client/index.ts:392–400  ·  view source on GitHub ↗
(this: void, options?: RedisClientOptions<M, F, S, RESP, TYPE_MAPPING>)

Source from the content-addressed store, hash-verified

390 }
391
392 static create<
393 M extends RedisModules = {},
394 F extends RedisFunctions = {},
395 S extends RedisScripts = {},
396 RESP extends RespVersions = 3,
397 TYPE_MAPPING extends TypeMapping = {}
398 >(this: void, options?: RedisClientOptions<M, F, S, RESP, TYPE_MAPPING>) {
399 return RedisClient.factory(options)(options);
400 }
401
402 static parseOptions<O extends AnyRedisClientOptions>(options: O): O {
403 if (options?.url) {

Callers 15

getFunction · 0.45
pool.spec.tsFile · 0.45
factoryMethod · 0.45
withCommandOptionsMethod · 0.45
_commandOptionsProxyMethod · 0.45
createPoolMethod · 0.45
index.spec.tsFile · 0.45
identity.spec.tsFile · 0.45
createClusterTestClientFunction · 0.45
INFO_DEBUG.spec.tsFile · 0.45
CREATE.spec.tsFile · 0.45

Calls 1

factoryMethod · 0.45

Tested by 1

createHybridSearchIndexFunction · 0.36