2

I am use npm redis (https://www.npmjs.com/package/redis) in the node server, I have 4 tables. I use hset to set key and value of each tables. my code looks like this: redisClient.hmsetAsync(['my-table1', key, val])

The problem is: it seems there is nothing called hexpire in the world for me to use, and it seems redis does not support each item expire of the list.

Any strategy I can use or any framework or library I can exploit to make my item expire in the Redis Hash?

Thanks

Itamar Haber
  • 47,336
  • 7
  • 91
  • 117
Xin
  • 33,823
  • 14
  • 84
  • 85

0 Answers0