How to delete cache with specified prefix
Aperta
- Lingua principale
- Python
- Stelle
- 1.4k
- Fork
- 181
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```py
cache = Cache(Cache.REDIS, endpoint="127.0.0.1", port=6379, namespace="main")
await cache.set('key:1', 1)
await cache.set('key:2', 2)
await cache.set('key:3', 3)
# delete prefix 'key:' ????
await cache.delete("key:") ??
await cache.delete("key:*") ??
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.