MCPcopy Create free account
hub / github.com/evolution-foundation/evolution-api / hSet

Method hSet

src/cache/rediscache.ts:51–59  ·  view source on GitHub ↗
(key: string, field: string, value: any)

Source from the content-addressed store, hash-verified

49 }
50
51 async hSet(key: string, field: string, value: any) {
52 try {
53 const json = JSON.stringify(value, BufferJSON.replacer);
54
55 await this.client.hSet(this.buildKey(key), field, json);
56 } catch (error) {
57 this.logger.error(error);
58 }
59 }
60
61 async has(key: string) {
62 try {

Callers

nothing calls this directly

Calls 3

buildKeyMethod · 0.95
errorMethod · 0.80
hSetMethod · 0.65

Tested by

no test coverage detected