red
Minimal Redis command helpers (connection-shaped `r` with `.connection`). Prefer `redis` for full client.
Load with: use red
Quick example
use red
result = redst("value", 10, "value")
prn(result)
Functions
Functions
redst(r, k, v)
Sets a value or starts a process. Takes r, k, v.
redgt(r, k)
Performs the operation. Takes r, k.
redks(r, pat)
Performs the operation. Takes r, pat.
redlp(r, k, v)
Performs the operation. Takes r, k, v.
redlr(r, k, a, b)
Performs the operation. Takes r, k, a, b.
Notes
- Redis client - get, set, expire, pub/sub.