Databases
Kinode provides key-value databases via RocksDB, and relational databases via SQLite. Processes can create independent databases using wrappers over these libraries, and can read, write, and share these databases with other processes. The APIs for doing are found here: KV and SQLite.
Similarly to drives in the VFS, they are accessed by package_id
and a db
name (i.e. kv::open()
and sqlite::open()
).
Capabilities to read and write can be shared with other processes.
All examples are using the kinode_process_lib
functions.
Usage
For usage examples, see the key-value API and the SQlite API.