Closed jonathanstanley closed 5 years ago
Thank you for the suggestion @jonathanstanley . There's definitely room for improvement, but since, as you correctly point out, the workaround is quite simple, we can't promise any fast development in this matter.
A PR is always welcome though. Would you be willing to work on that?
Implemented by keyValueStore.forEach()
It seems there is no way to list keys using the SDK, which means we cannot get keys for local datastore through SDK, which guides me/others to either hack into the class or duplicate the SDK.
Just needs two functions
listKeys() using apify-client for KeyValueStore class (key_value_store.js ~L156)
listKeys() emulator for KeyValueStoreLocal class (key_value_store.js ~L311) probably something like: