cloudworker icon indicating copy to clipboard operation
cloudworker copied to clipboard

Added list support with prefix functionality

Open tmayr opened this issue 5 years ago • 5 comments

Added support for list() and kv.list({ prefix }) as per the cf docs

Let me know if any changes are needed.

EDIT: Updated code, it's list not browse

tmayr avatar Sep 23 '19 18:09 tmayr

Hey, sorry I never saw your PR when I filed #130. I've got an implementation of cursor, and list_complete over there. Do you think we could combine them together in this PR?

GregBrimble avatar Oct 27 '19 20:10 GregBrimble

Hey @GregBrimble

Yeah sure thing!, you can make PR on my branch I guess? Or I can make the changes, lmk what you prefer.

tmayr avatar Oct 30 '19 19:10 tmayr

Any chance of this being merged in?

travis-r6s avatar Mar 27 '20 00:03 travis-r6s

@tmayr , apologies, I totally missed your reply back in October.

@thetre97 , I think this repo has been abandoned now (see the README.md), but Cloudflare's wrangler tool now has the dev command, which lets you locally test a worker. Personally, I have been using it instead of cloudworker for a while now.

GregBrimble avatar Mar 27 '20 15:03 GregBrimble

Ah, I had seen the preview command, but not the new dev command. Thanks!

travis-r6s avatar Mar 27 '20 18:03 travis-r6s