Audit KV data in deno deploy
Hi,
I use kivi extension to audit data in local KV.
How could I do this in deno deploy ? I was used before to handle data like MongoDB. You could read, update, drop some data.
What is the spirit/ideas with KV when you want to manipulate data located in a serverless environnement ?
Thanks
1 Reply
Hello,
I wasn't able to find the answer to your question in the official Deno documentation. However, based on your message, it seems like you're looking for ways to manipulate data in a key-value store within Deno Deploy, similar to operations you would perform with a database like MongoDB.
While I can't provide a direct answer from the documentation, I can offer some general advice. In serverless environments, including Deno Deploy, the concept of a key-value store (KV) is often used for storing and retrieving data quickly and at scale. The operations you can perform on a KV store typically include:
- Reading data: Retrieve the value for a given key.
- Writing data: Store a value with a specific key.
- Deleting data: Remove a key and its associated value from the store.
- Listing keys: Enumerate keys in the store.
These operations are usually provided by the KV API, and you would use them to manipulate your data. However, unlike MongoDB, KV stores are generally schema-less and do not support complex queries or transactions.
Please note that this advice is not based on the Deno documentation, and I would recommend double-checking the accuracy of this advice and looking for more specific guidance on how to perform these operations within Deno Deploy's KV store. You might also want to explore the official Deno Deploy documentation or reach out to the Deno community for more detailed assistance.