Skip to main content

import_into

Function import_into 

Source
pub fn import_into(
    db: &mut GraphDb<RealFs>,
    nodes_csv: Option<&Path>,
    rels_csv: Option<&Path>,
    opts: &ImportOptions,
    on_batch: &mut dyn FnMut(&BatchProgress),
) -> Result<ImportReport, CliError>
Expand description

The import itself, on a store the caller holds open and takes the snapshot of: run_import_with_progress is this plus the open and the snapshot. Public so a test can read the store while the importing handle is live.