redis/example/del-keys-without-ttl
Vladyslav Vildanov 9cfeb30f62
Bump version of go-redis to 9.6.0 (#3059)
* Bump version of go-redis to 9.6.0

* Trigger CI on branch v9.6
2024-07-17 11:53:49 +03:00
..
README.md chore: add example how to delete keys without a ttl 2021-11-19 17:05:07 +02:00
go.mod Bump version of go-redis to 9.6.0 (#3059) 2024-07-17 11:53:49 +03:00
go.sum Release/v9.5.3 (#3018) 2024-06-07 17:04:08 +03:00
main.go Format code and fix go vet (#2696) 2023-09-20 14:03:44 +03:00

README.md

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:

go run .

See documentation for more details.