bit/utils/redis/set-data

Returns a Promise resolved with the values associated with the specified fields in the hash stored at key.

3 Likes
Use in your codeLearn more
bit import bit.utils/redis/set-data

Returns a Promise resolved with the values associated with the specified fields in the hash stored at key.

Arguments

cache : RedisClient

-

key : string

hash stored at key

fields : (string|Array.<string>)

Returns

Promise<Array.<string>>

list of values associated with the given fields, in the same order as they are requested.