Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
4
import
{ createClient, defineScript } from
'redis'
;
Callers
nothing calls this directly
Calls
6
createClient
Function · 0.90
defineScript
Function · 0.85
log
Method · 0.80
destroy
Method · 0.65
connect
Method · 0.45
set
Method · 0.45
Tested by
no test coverage detected