MCPcopy
hub / github.com/redis/ioredis / set

Method set

lib/utils/RedisCommander.ts:6960–6960  ·  view source on GitHub ↗

* Set the string value of a key * - _group_: string * - _complexity_: O(1) * - _since_: 1.0.0

(
    key: RedisKey,
    value: string | Buffer | number,
    callback?: Callback<"OK">
  )

Source from the content-addressed store, hash-verified

6958 * - _since_: 1.0.0
6959 */
6960 set(
6961 key: RedisKey,
6962 value: string | Buffer | number,
6963 callback?: Callback<"OK">

Callers 15

fillSubCommandFunction · 0.80
fillUnsubCommandFunction · 0.80
zipMapFunction · 0.80
addChannelsMethod · 0.80
removeChannelsMethod · 0.80
resetMethod · 0.80
_refreshSlotsMethod · 0.80
constructorMethod · 0.80
connectMethod · 0.80
pipeline.tsFile · 0.80

Calls

no outgoing calls

Tested by 2

testFunction · 0.64
testFunction · 0.64