Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
DbAdapter
Defined in the extras module.
Rust AI Agent SDK
Database adapter trait
Methods
store
fn store(&self, key: &str, value: &serde_json::Value) -> crate::error::Result<()>
Store a value
Parameters:
| Name | Type |
|---|
key | &str |
value | &serde_json::Value |
get
fn get(&self, key: &str) -> crate::error::Result<Option<serde_json::Value>>
Retrieve a value
Parameters:
delete
fn delete(&self, key: &str) -> crate::error::Result<()>
Delete a value
Parameters:
Source
View on GitHub
praisonai/src/parity/extras.rs at line 0