Lines Matching refs:blob_id
204 fn load_from_db(blob_id: i64, tx: &Transaction) -> Result<Self> { in load_from_db()
215 stmt.query(params![blob_id]).context("In BlobMetaData::load_from_db: query failed.")?; in load_from_db()
230 fn store_in_db(&self, blob_id: i64, tx: &Transaction) -> Result<()> { in store_in_db()
240 stmt.insert(params![blob_id, tag, entry,]).with_context(|| { in store_in_db()
1136 for blob_id in blob_ids_to_delete { in handle_next_superseded_blobs()
1139 params![blob_id], in handle_next_superseded_blobs()
1142 tx.execute("DELETE FROM persistent.blobentry WHERE id = ?;", params![blob_id]) in handle_next_superseded_blobs()
1182 .map(|(blob_id, blob)| { in handle_next_superseded_blobs()
1183 Ok((blob_id, blob, BlobMetaData::load_from_db(blob_id, tx)?)) in handle_next_superseded_blobs()
1636 let blob_id = tx in set_blob_internal() localVariable
1642 .store_in_db(blob_id, tx) in set_blob_internal()
2539 let blob_info = key_blob.map_or::<Result<_>, _>(Ok(None), |(blob_id, blob)| { in load_blob_components()
2542 BlobMetaData::load_from_db(blob_id, tx) in load_blob_components()