This PR adds the initial implementation of the wasi-keyvalue interface for couchbase, including implementations for store and atomics. It also updates the README with some instructions to build and run the provider, given you've gone through the quickstart on the couchbase docs to set up a database server.
There's still a few TODOs and the code isn't perfect yet, but we can discuss all of that and make it better! To name a few things:
[ ] Make sure using the RawJSONTranscoder isn't a bad idea for kv operations
[ ] Improve configuration and make use of the bucket argument
[ ] Support connections per-link instead of a global connection
This PR adds the initial implementation of the wasi-keyvalue interface for couchbase, including implementations for store and atomics. It also updates the README with some instructions to build and run the provider, given you've gone through the quickstart on the couchbase docs to set up a database server.
There's still a few TODOs and the code isn't perfect yet, but we can discuss all of that and make it better! To name a few things:
RawJSONTranscoder
isn't a bad idea for kv operationsbucket
argument