Skip to main content

read_by_id

Function read_by_id 

Source
pub async fn read_by_id(pool: &Pool, id: i64) -> Result<Option<Response>, Error>
Expand description

Resolve one objectiveai.messages."index" to the matching SDK Response variant. Returns Ok(None) when no row exists at that index.