Closed anistark closed 1 year ago
We dont add any get-method to the fastify.redis attribute. fastify.redis is a ioredis client. So you should be able to make all the calls you like.
We dont add any get-method to the fastify.redis attribute. fastify.redis is a ioredis client. So you should be able to make all the calls you like.
Got it. fastify.redis.keys("key-*)
works 🎉
Prerequisites
🚀 Feature Proposal
Redis allows fetching data by pattern search like
KEYS pattern
.Requesting feature to support
redis.get
with wildcard support:key-*
to search forkeys-1
,keys-qwerty
, etc.key-?
to search forkeys-1
,keys-2
, ....Motivation
Already supported by redis nodejs library.
Example code:
Example
Should look something like:
fastify.redis.get('key-*')