memcached
memcached copied to clipboard
Get all the stored keys by memcached method in nodejs
Hi all, first of all, thanks for this amazing library.
Is there any method that memcached provides to access all stored keys? I need them to access their respective values somewhere else in my code.
https://github.com/3rd-Eden/memcached/blob/master/examples/simple_cachedump.js
You can reference this file to list all keys stored in memcached. I'd just test it and it work great
Thanks a lot @anhnt2309.. it does list out all stored keys but also I am getting the keys that I have deleted long back. Is there any workaround to filter only the active keys (the ones not deleted yet)?
@NayOoLwin5 did you find a solution to only get the current keys?