pub(crate) async fn batch_insert_hashes(
hashes: Vec<Vec<u8>>,
tx: &mut Transaction<Write>,
) -> QueryResult<HashMap<Vec<u8>, i32>>Expand description
Batch insert hashes using UNNEST for large batches (postgres only). Returns a map from hash bytes to their database IDs.