DeleteRange operation: Delete all keys with prefix #586
Answered
by
merlimat
MaratKarimov
asked this question in
Q&A
-
How can I delete all keys with a prefix using the DeleteRange operation? |
Beta Was this translation helpful? Give feedback.
Answered by
merlimat
Dec 2, 2024
Replies: 1 comment
-
@MaratKarimov You can specify the highest key to delete. eg: If you have prefix separated by client.DeleteRange("/my-prefix/", "/my-prefix//") If you have some sort of id: client.DeleteRange("my-prefix-00000000", "my-prefix-ffffffff") |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
merlimat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@MaratKarimov You can specify the highest key to delete.
eg: If you have prefix separated by
/
you could doIf you have some sort of id: