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

Function loadMathFunction

packages/client/lib/commands/FUNCTION_LOAD.spec.ts:38–50  ·  view source on GitHub ↗
(
  client: RedisClientType<M, F, S, RESP>
)

Source from the content-addressed store, hash-verified

36};
37
38export function loadMathFunction<
39 M extends RedisModules,
40 F extends RedisFunctions,
41 S extends RedisScripts,
42 RESP extends RespVersions
43>(
44 client: RedisClientType<M, F, S, RESP>
45) {
46 return client.functionLoad(
47 MATH_FUNCTION.code,
48 { REPLACE: true }
49 );
50}
51
52describe('FUNCTION LOAD', () => {
53 testUtils.isVersionGreaterThanHook([7]);

Calls

no outgoing calls

Tested by

no test coverage detected