diff --git a/packages/redis/README.md b/packages/redis/README.md index 49d1b93af..5468107c4 100644 --- a/packages/redis/README.md +++ b/packages/redis/README.md @@ -225,9 +225,9 @@ const keyv = new Keyv({ store: new KeyvRedis(tlsOptions) }); * **hasMany** - Check if multiple keys exist. * **delete** - Delete a key. * **deleteMany** - Delete multiple keys. -* **clear** - Clear all keys. If the `namespace` is set it will only clear keys with that namespace. +* **clear** - Clear all keys in the namespace. If the namespace is not set it will clear all keys that are not prefixed with a namespace. * **disconnect** - Disconnect from the Redis server. -* **iterator** - Create a new iterator for the keys. +* **iterator** - Create a new iterator for the keys. If the namespace is not set it will iterate over all keys that are not prefixed with a namespace. # Migrating from v3 to v4