Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete keys by custom prefix #338

Open
foo123 opened this issue Feb 7, 2019 · 0 comments
Open

Delete keys by custom prefix #338

foo123 opened this issue Feb 7, 2019 · 0 comments

Comments

@foo123
Copy link

foo123 commented Feb 7, 2019

I would like to delete/remove all keys that have a custom prefix (not necessarily same as namespace).

In a php version I would use slabs data and then get all keys and see which keys match prefix and delete those. Optionally I would also flush the cache if prefix is not set. How can I do similar with node-memcached?

maybe also related to this issue

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant