Skip to main content

insert_response_blob

Function insert_response_blob 

Source
pub async fn insert_response_blob<C: Serialize>(
    pool: &Pool,
    tier: Tier,
    response_id: &str,
    chunk: &C,
    created_at: i64,
) -> Result<(), Error>
Expand description

INSERT the response tier blob (first tick only). Response blobs don’t emit messages — they’re the latest snapshot, not events. Tier-symmetric: every tier’s response table now has the same (response_id, body, created_at, inserted_at) shape.