But doesn't this say I can use the context?? https://developers.cloudflare.com/pages/platform/functi

But doesn't this say I can use the context?? https://developers.cloudflare.com/pages/platform/functions/bindings/

​​Interact with your KV namespaces locally
While developing locally, interact with your KV namespace by adding -k <BINDING_NAME> or --kv=<BINDING_NAME> to your run command. For example, if your namespace is bound to TODO_LIST, access the KV namespace in your local dev by running npx wrangler pages dev <OUTPUT_DIR> --kv=TODO_LIST. The data from this namespace can be accessed using context.env.TODO_LIST.
Was this page helpful?