pub fn stream_pidbox_to_sqlite(
input_path: &Path,
output_path: &Path,
limit: usize,
update: bool,
) -> Result<usize>Expand description
Stream the pidbox dump (a mixed-source VRAIX SQLite file containing crossref,
datacite, and ROR rows) directly to a commonmeta SQLite database. Each row
is routed to the appropriate parser by its source_id; ROR rows are
skipped. When update is false the output file is recreated; when true
rows are upserted by id. Returns the number of records written.