redis/example/del-keys-without-ttl/README.md

12 lines
264 B
Markdown
Raw Normal View History

2024-06-20 02:30:37 +03:00
# Delete keys without a ttl
This example demonstrates how to use `SCAN` and pipelines to efficiently delete keys without a TTL.
To run this example:
```shell
go run .
```
See [documentation](https://redis.uptrace.dev/guide/get-all-keys.html) for more details.