A very interesting alt method. I may consider this, though I doubt whether it can handle frequently
A very interesting alt method. I may consider this, though I doubt whether it can handle frequently CRUD.
Oh, that's first time I know that some part of KV is backed by DO.R2 is, not KV
But, from the document, I don't find any related to the cache time around the metadata in KV. I guess the cache policy is the same as value, right?For KV yea should be the same, but that document I linked was about R2, not KV
binding to is what you access in your env, ex: https://developers.cloudflare.com/kv/concepts/kv-bindings/#access-kv-from-workers
addEventListener('fetch',... (migrate to module workers is recommended) then it's a global var
wishlist_kv, the namewishlist_kv.get(key) gives me Cannot find name 'wishlist_kv'.Property 'put' does not exist on type '"wishlist_kv"'
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request));
});

Game should not exist after 19:20


addEventListener('fetch',... wishlist_kvwishlist_kv.get(key)Cannot find name 'wishlist_kv'.Property 'put' does not exist on type '"wishlist_kv"'addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request));
});
PutOptionsBuilder { this: Object { obj: JsValue(Object({})) }, put_function: Function { obj: Object { obj: JsValue(Function(put)) } }, name: JsValue("27c43d0052d59077f496"), value: JsValue("{"description":"test game, don't register","players":{},"guests":[],"comments":[]}"), expiration: Some(1729279200), expiration_ttl: None, metadata: None }Game