diff --git a/src/databases.md b/src/databases.md index 460c210b..f95a8b3e 100644 --- a/src/databases.md +++ b/src/databases.md @@ -1,10 +1,10 @@ # Databases -The runtime currently provides key-value databases via RocksDB, and relational databases via SQLite. +The runtime currently provides key-value databases via [RocksDB](https://rocksdb.org/), and relational databases via [SQLite](https://www.sqlite.org/docs.html). 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 so you can find here: [KV](./apis/kv.md) and [SQLite](./apis/sqlite.md). -Similarly to files in the VFS, they are accessed by `package_id` and a `db` name. +Similarly to files in the VFS, they are accessed by `package_id` and a `db` name ([here](https://docs.rs/kinode_process_lib/latest/kinode_process_lib/kv/struct.Kv.html#structfield.package_id) and [here](https://docs.rs/kinode_process_lib/latest/kinode_process_lib/sqlite/struct.Sqlite.html#structfield.package_id)). Capabilities to read and write can be shared with other processes; processes within a given package have access by default. All examples are using the [`kinode_process_lib`](./process_stdlib/overview.md) functions. @@ -58,4 +58,4 @@ println!("rows: {}", rows.len()); - [SQLite](https://www.sqlite.org/docs.html) - [`kinode_process_lib` book entry](./process_stdlib/overview.md) - [`kinode_process_lib` docs.rs](https://docs.rs/kinode_process_lib) -- [`kinode_process_lib`](https://github.com/kinode-dao/process_lib) +- [`kinode_process_lib` Github](https://github.com/kinode-dao/process_lib)