MCPcopy
hub / github.com/redis/node-redis / lua-multi-incr.js

File lua-multi-incr.js

examples/lua-multi-incr.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Define a custom lua script that accepts two keys and an amount to
2// increment each of them by
3
4import { createClient, defineScript } from 'redis';

Callers

nothing calls this directly

Calls 6

createClientFunction · 0.90
defineScriptFunction · 0.85
logMethod · 0.80
destroyMethod · 0.65
connectMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected