mirror of
https://github.com/redis/go-redis.git
synced 2025-04-25 04:02:31 +03:00
12 lines
264 B
Markdown
12 lines
264 B
Markdown
# 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.
|