TDIGEST.RESET
Syntax
TDIGEST.RESET key
- Available in:
- Redis Stack / Bloom 2.4.0
- Time complexity:
- O(1)
Reset the sketch - empty the sketch and re-initialize it.
Parameters:
- key: The name of the sketch (a t-digest data structure)
Return
Simple string reply - OK
if executed correctly, or Error reply otherwise.
Examples
redis> TDIGEST.RESET t-digest
OK
Feedback
If you've found issues on this page, or have suggestions for improvement, please submit a request to merge or open an issue in the repository.