Help needed: How do i seed my local KV store?
I could find no documentation on this (wtf Cloudfare)
The official docs on KV (https://developers.cloudflare.com/kv/get-started/) were no help:
But this is wrong:
This post:
workers-and-pages-discussions
suggested that
Also I tried running:
an this creatd a new sqlite db and added an entry and added an entry to
And of course my loader function is not reading this at all.
My app works in production just fine. This is Remix app by the way
How do I seed my KV DB?
Any help would be appreciated!
The official docs on KV (https://developers.cloudflare.com/kv/get-started/) were no help:
But this is wrong:
This post:
workers-and-pages-discussions
suggested that
--persist-to=.wrangler/state would replicate what's in production locally but that's not the case.Also I tried running:
an this creatd a new sqlite db and added an entry and added an entry to
177ed01a21109c36f2c8627b05dd953e17084c7d07502c2ba22320
5c6b30c8c4.sqlite that looks like this:And of course my loader function is not reading this at all.
My app works in production just fine. This is Remix app by the way
How do I seed my KV DB?
Any help would be appreciated!
Workers KV provides low-latency, high-throughput global storage to your Cloudflare Workers applications. Workers KV is ideal for storing user …
