Skip to main content

fetch_metadata

Function fetch_metadata 

Source
pub fn fetch_metadata(conn: &Connection, id: &str) -> Result<Option<Transcript>>
Expand description

v0.7.0 I4 — fetch the lightweight metadata for a transcript without pulling the (potentially multi-MB) decompressed content blob. Returns Ok(None) when no row matches, mirroring fetch. The Transcript handle carries created_at, compressed_size, and original_size, which I4’s memory_replay joins with the I2 link spans to assemble a per-transcript metadata block.

§Errors

Returns an error when the SELECT fails (disk I/O, schema drift).