Course lesson
Write Data to Cloudflare Workers KV Store with BINDING.put
Now that we have our database setup, we need to be able to write data to that database. Firstly, we need to understand the binding concept. Secondly, we are going to use .put() to write that data to our database. Remember that .put() is an async function so...
- Duration
- 2 min
- Access
- Included
- Transcript
- Retained from source evidence
Now that we have our database setup, we need to be able to write data to that database. Firstly, we need to understand the binding concept. Secondly, we are going to use .put() to write that data to our database. Remember that .put() is an async function so we need to await it for it to work in the way that we want it to.